forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcHeatmap.Rd
48 lines (35 loc) · 1.64 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
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/seurat.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 = pyCols, use.scale = TRUE, do.balanced = FALSE,
remove.key = FALSE, ...)
}
\arguments{
\item{object}{Seurat object}
\item{pc.use}{Principal components to use}
\item{cells.use}{Cells to include in the heatmap (default is all cells)}
\item{num.genes}{Number of genes to return}
\item{use.full}{Use the full PCA (projected PCA). Default i s 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}{Default is FALSE. If TRUE, return a matrix of scaled values
which would be passed to heatmap.2}
\item{col.use}{Color palette to use}
\item{use.scale}{Default is TRUE: plot scaled data. If FALSE, plot raw data on the heatmap.}
\item{do.balanced}{Return an equal number of genes with both + and - PC scores.}
\item{remove.key}{Removes the color key from the plot.}
\item{...}{Additional parameters to heatmap.2. Common examples are cexRow
and cexCol, which set row and column text sizes}
}
\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.
}