forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPCHeatmap.Rd
52 lines (38 loc) · 1.67 KB
/
PCHeatmap.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{PCHeatmap}
\alias{PCHeatmap}
\title{Principal component heatmap}
\usage{
PCHeatmap(object, pc.use = 1, cells.use = NULL, num.genes = 30,
use.full = FALSE, disp.min = -2.5, disp.max = 2.5, do.return = FALSE,
col.use = PurpleAndYellow(), use.scale = TRUE, do.balanced = FALSE,
remove.key = FALSE, label.columns = NULL, ...)
}
\arguments{
\item{object}{Seurat object.}
\item{pc.use}{PCs to plot}
\item{cells.use}{A list of cells to plot. If numeric, just plots the top cells.}
\item{num.genes}{Number of genes to plot}
\item{use.full}{Use the full PCA (projected PCA). Default is FALSE}
\item{disp.min}{Minimum display value (all values below are clipped)}
\item{disp.max}{Maximum display value (all values above are clipped)}
\item{do.return}{If TRUE, returns plot object, otherwise plots plot object}
\item{col.use}{Color to plot.}
\item{use.scale}{Default is TRUE: plot scaled data. If FALSE, plot raw data on the heatmap.}
\item{do.balanced}{Plot an equal number of genes with both + and - scores.}
\item{remove.key}{Removes the color key from the plot.}
\item{label.columns}{Whether to label the columns. Default is TRUE for 1 PC, FALSE for > 1 PC}
\item{...}{Extra parameters for DimHeatmap}
}
\value{
If do.return==TRUE, a matrix of scaled values which would be passed
to heatmap.2. Otherwise, no return value, only a graphical output
}
\description{
Draws a heatmap focusing on a principal component. Both cells and genes are sorted by their principal component scores.
Allows for nice visualization of sources of heterogeneity in the dataset.
}
\examples{
PCHeatmap(object = pbmc_small)
}