forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetGeneLoadings.Rd
32 lines (27 loc) · 975 Bytes
/
GetGeneLoadings.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dimensional_reduction_utilities.R
\name{GetGeneLoadings}
\alias{GetGeneLoadings}
\title{Dimensional Reduction Gene Loadings Accessor Function}
\usage{
GetGeneLoadings(object, reduction.type = "pca", dims.use = NULL,
genes.use = NULL, use.full = FALSE)
}
\arguments{
\item{object}{Seurat object}
\item{reduction.type}{Type of dimensional reduction to fetch (default is PCA)}
\item{dims.use}{Dimensions to include (default is all stored dims)}
\item{genes.use}{Genes to include (default is all genes)}
\item{use.full}{Return projected gene loadings (default is FALSE)}
}
\value{
Gene loading matrix for given reduction, cells, and genes
}
\description{
Pull gene loadings matrix for specified stored dimensional reduction analysis.
}
\examples{
pbmc_small
# Examine the head of the first 5 PC gene loadings
head(GetGeneLoadings(object = pbmc_small, reduction.type = "pca", dims.use = 1:5))
}