View source: R/subset_metaanalysis.R
find_fold_changes_and_pvalues | R Documentation |
Retrieve for a given genes all the log2FCs and adjusted-p-values across the different comparison(s)
find_fold_changes_and_pvalues(gene, dataset)
gene |
a gene (character) included in one of the sublists in |
dataset |
list of 3 lists, the first with gene IDs (called |
a dataframe with 2 columns: log2FC
and adjpval
. Each row is a different comparison where the given gene is found DE.
# 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 )
#retrieve log2FCs and adjusted-p-values for the DYRK1A gene (ensemblID="ENSG00000157540")
find_fold_changes_and_pvalues(gene="ENSG00000157540",dataset=list_array.05_fc1.5_max500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.