mitch_import | R Documentation |
This function imports differential omics data from common differential tools like edgeR, limma and DESeq2. It calculates a summarised differential expression metric by multiplying the sign of the log fold change by the -log10 of the p-value. If this behaviour is not desired, mitch_import can be bypassed in favour of another scoring metric.
mitch_import(x, DEtype, geneIDcol = NULL, geneTable = NULL, joinType = NULL)
x |
a list of differential expression tables. |
DEtype |
the program that generated the differential expression table Valid options are 'edgeR', 'DESeq2', 'limma', 'ABSSeq', 'Sleuth', 'Seurat', 'topConfects', 'muscat', 'Swish', 'scDE', 'MAST', 'DEsingle', 'ballgown', 'NOIseq', 'TCC', 'DEDS', 'cuffdiff', 'fishpond', 'missMethyl', 'DMRcate', 'DEP', 'msmsTests', 'plgem', 'SDAMS', 'DEqMS', 'DiffBind' and 'prescored'. Where 'prescored' is a dataframe containing the test statistic and gene ID (either in rowname or separate column) and nothing else. 'preranked' is an alias for 'prescored'. |
geneIDcol |
the column containing gene names. If gene names are specified as row names, then geneIDcol=NULL. |
geneTable |
a 2 column table mapping gene identifiers in the profile to gene identifiers in the gene sets. |
joinType |
the type of join to perform, either 'inner' or 'full'. By default, joins are 'inner' except for Seurat and muscat where full is used. |
a multi-column table compatible with mitch_calc analysis.
# first step is to create a list of differential profiles
data(rna,k9a,k36a)
x<-list('rna'=rna,'k9a'=k9a,'k36a'=k36a)
# import as edgeR table
imported<-mitch_import(x,DEtype='edger')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.