View source: R/subset_metaanalysis.R
subset_metanalysis | R Documentation |
Subset DE analysis data for a bunch of comparisons based on fold change and p-values
subset_metanalysis(dataset, adjpval = 0.1, max_n_genes = Inf, abslog2FC = 0)
dataset |
list of 3 lists, the first with gene IDs (called |
adjpval |
desired adjusted p-value threshold for subsetting the data |
max_n_genes |
maximum number of genes to be kept. It is used only if for a given contrasts there are more than |
abslog2FC |
desired absolute log2 fold change threshold for subsetting the data |
A list of lists structured identically to dataset
but where the genes that do not pass the filters are excluded.
# create a list of lists were only the first 500 most significant genes with adjusted p-value < 0.05 and fold change >1.5 or < -1.5 are included
data(list_array) #load data
list_array.05_fc1.5_max500 <- subset_metanalysis(dataset=list_array, adjpval = 0.05, abslog2FC = log2(1.5), max_n_genes = 500 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.