seekDEma: creates a MA plot from diff.expr. data

Description Usage Arguments Value Examples

View source: R/DEGs.R

Description

Imports: DESeq2, apeglm

Usage

1
seekDEma(dds, compare = NA, alpha = 0.05)

Arguments

dds

DESeq object as created as 3rd item with seekDeseq()

compare

string indicating which comparison should be used. Use this function with only dds, to see options.

alpha

p value cutoff used to indicate significance by color in the plot

Value

a graph

Examples

1
2
3
4
5
6
7
myCounts <- sqCounts
myCondition <- c(0,0,0,2,2,2,2,3,3,3,3)
myBatch <- c(1,1,1,1,1,2,2,2,2,2,2)
myDE <- seekDeseq(myCounts, Conditions=myCondition, Batches=myBatch, Species="mouse", cond0=0, cond1=3)
dds <- myDE[[3]]
myNames <- seekMA(dds)
seekMA(dds, myNames[2])

Solatar/seeqR documentation built on Feb. 19, 2021, 8:07 p.m.