Subsets data according to the significance groups.
significance_subset(polar, significance = NULL, output = "pvals")
polar | A polar object including expression data from groups of
interest. Created by |
---|---|
significance | Which significance factors to subset to. If |
output | What object to return. Options are "pvals", "padj", "data", "df" for subset dataframes, or "polar" to subset the entire 'volc3d' class object. |
Returns an object (type defined by output
) with rows susbet to
those which satisfy the significance condition.
Lewis, Myles J., et al. (2019). Molecular portraits of early rheumatoid arthritis identify clinical and treatment response phenotypes. Cell reports, 28:9
data(example_data) syn_polar <- polar_coords(outcome = syn_example_meta$Pathotype, data = t(syn_example_rld)) subset <- significance_subset(syn_polar, "L+", "df")