significance_subset {volcano3D} | R Documentation |
Extract a subset population
Description
Subsets data according to the significance groups.
Usage
significance_subset(polar, significance = NULL, output = "pvals")
Arguments
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. |
Value
Returns an object (type defined by output
) with rows susbet to
those which satisfy the significance condition.
References
Lewis, Myles J., et al. (2019). Molecular portraits of early rheumatoid arthritis identify clinical and treatment response phenotypes. Cell reports, 28:9
Examples
data(example_data)
syn_polar <- polar_coords(outcome = syn_example_meta$Pathotype,
data = t(syn_example_rld))
subset <- significance_subset(syn_polar, "L+", "df")
[Package volcano3D version 2.0.9 Index]