forked from thelovelab/DESeq2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plotCounts.Rd
56 lines (44 loc) · 1.3 KB
/
plotCounts.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plotCounts}
\alias{plotCounts}
\title{Plot of normalized counts for a single gene}
\usage{
plotCounts(
dds,
gene,
intgroup = "condition",
normalized = TRUE,
transform = TRUE,
main,
xlab = "group",
returnData = FALSE,
replaced = FALSE,
pc,
...
)
}
\arguments{
\item{dds}{a \code{DESeqDataSet}}
\item{gene}{a character, specifying the name of the gene to plot}
\item{intgroup}{interesting groups: a character vector of names in \code{colData(x)} to use for grouping.
Must be factor variables. If you want to plot counts over numeric, choose \code{returnData=TRUE}}
\item{normalized}{whether the counts should be normalized by size factor
(default is TRUE)}
\item{transform}{whether to have log scale y-axis or not.
defaults to TRUE}
\item{main}{as in 'plot'}
\item{xlab}{as in 'plot'}
\item{returnData}{should the function only return the data.frame of counts and
covariates for custom plotting (default is FALSE)}
\item{replaced}{use the outlier-replaced counts if they exist}
\item{pc}{pseudocount for log transform}
\item{...}{arguments passed to plot}
}
\description{
Normalized counts plus a pseudocount of 0.5 are shown by default.
}
\examples{
dds <- makeExampleDESeqDataSet()
plotCounts(dds, "gene1")
}