movDEGene | R Documentation |
movDEGene first summerizes all PACs in a gene to get gene expression level, and then calls DESeq2 for DE analysis. It performs DE analyses for all condition pairs of the given group. If you only need a specific condition pair, call subsetPACds() first to filter used conditions.
movDEGene(PACds, group, method = "DESeq2", minSumPAT = 10)
PACds |
a PACdataset. |
group |
a sample group name to get all conditions under the group. |
method |
only DESeq2 is allowed for now |
minSumPAT |
filter genes with total PAT number across all conditions >=minSumPAT |
An object of movDEGeneRes, with slots[group, conds, pairwise=list[value=log2FC_<cond1.cond2>, padj=padj_<cond1.cond2>]]
Other comparison functions:
movAPAindexDiff()
,
movAPAindex()
,
movAPAswitch()
,
movDEPAC()
,
movPAindex()
,
movUTRtrend()
,
plotCummPAindex()
data(PACds)
## Detect DE genes for two conditions.
## Subset two conditions first.
pacds=subsetPACds(PACds, group='group',cond1='anther', cond2='embryo')
## Detect DE genes using DESeq2 method,
## only genes with total read counts in all samples >=50 are used.
DEgene=movDEGene(PACds=pacds, method='DESeq2', group='group', minSumPAT=50)
## Detect DE genes in all pairwise conditions.
DEgene=movDEGene(PACds=PACds, method='DESeq2', group='group', minSumPAT=50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.