|
a |
|
b/man/getPCA.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/processing.R |
|
|
3 |
\name{getPCA} |
|
|
4 |
\alias{getPCA} |
|
|
5 |
\title{getPCA} |
|
|
6 |
\usage{ |
|
|
7 |
getPCA( |
|
|
8 |
object, |
|
|
9 |
assay = NULL, |
|
|
10 |
features = NULL, |
|
|
11 |
dims = 30, |
|
|
12 |
type = "pca", |
|
|
13 |
overwrite = FALSE, |
|
|
14 |
seed = 1 |
|
|
15 |
) |
|
|
16 |
} |
|
|
17 |
\arguments{ |
|
|
18 |
\item{object}{a VoltRon object} |
|
|
19 |
|
|
|
20 |
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}. |
|
|
21 |
if NULL, the default assay will be used, see \link{vrMainAssay}.} |
|
|
22 |
|
|
|
23 |
\item{features}{the selected features for PCA reduction} |
|
|
24 |
|
|
|
25 |
\item{dims}{the number of dimensions extracted from PCA} |
|
|
26 |
|
|
|
27 |
\item{type}{the key name for the embedding, default: pca} |
|
|
28 |
|
|
|
29 |
\item{overwrite}{Whether the existing embedding with name 'type' should be overwritten in \link{vrEmbeddings}} |
|
|
30 |
|
|
|
31 |
\item{seed}{seed} |
|
|
32 |
} |
|
|
33 |
\description{ |
|
|
34 |
calculate PCA of the VoltRon objects |
|
|
35 |
} |