infercnvpy.tl.pca#
- infercnvpy.tl.pca(adata, svd_solver='arpack', zero_center=False, inplace=True, use_rep='cnv', key_added='cnv_pca', **kwargs)#
Compute the PCA on the result of
infercnvpy.tl.infercnv()
.Thin wrapper around
scanpy.tl.pca()
.- Parameters:
adata (
AnnData
) – annotated data matrixsvd_solver (
str
(default:'arpack'
)) – Seescanpy.tl.pca()
.zero_center (
bool
(default:False
)) – Seescanpy.tl.pca()
.inplace (
bool
(default:True
)) – If True, store the result in adata.obsm. Otherwise return the PCA matrix.use_rep (
str
(default:'cnv'
)) – Key under which the result of infercnv is stored in adatakey_added (
str
(default:'cnv_pca'
)) – Key under which the result will be stored in adata.obsm ifinplace=True
.**kwargs – Additional arguments passed to
scanpy.tl.pca()
.
- Return type: