plotdiffgenesnb {RaceID} | R Documentation |
Function for plotting differentially expressed genes
Description
This is a plotting function for visualizing the output of the diffexpnb
or clustdiffgenes
function as MA plot.
Usage
plotdiffgenesnb(
x,
pthr = 0.05,
padj = TRUE,
lthr = 0,
mthr = -Inf,
Aname = NULL,
Bname = NULL,
show_names = TRUE,
...
)
Arguments
x |
output of the function |
pthr |
real number between 0 and 1. This number represents the p-value cutoff applied for displaying differentially expressed genes. Default value is 0.05. The parameter |
padj |
logical value. If |
lthr |
real number between 0 and Inf. Differentially expressed genes are displayed only for log2 fold-changes greater than |
mthr |
real number between -Inf and Inf. Differentially expressed genes are displayed only for log2 mean expression greater than |
Aname |
name of expression set |
Bname |
name of expression set |
show_names |
logical value. If |
... |
Additional arguments for function |
Value
None
Examples
sc <- SCseq(intestinalDataSmall)
sc <- filterdata(sc)
sc <- compdist(sc)
sc <- clustexp(sc)
sc <- findoutliers(sc)
A <- names(sc@cpart)[sc@cpart %in% c(1,2)]
B <- names(sc@cpart)[sc@cpart %in% c(3)]
y <- diffexpnb(getfdata(sc,n=c(A,B)), A=A, B=B )
plotdiffgenesnb(y)