Description Usage Arguments Value
View source: R/low_quality_cells.R
Perform PCA with the optimal number of principal components.
1 2 3 4 5 6 | GetOptimalPcs(
data,
explained.var.required = 0.98,
max.pcs = 3,
loadings.filt.threshold = 0.075
)
|
data |
data for low-quality cells filtration |
explained.var.required |
numeric Minimal fraction of explained variance (default=0.98) |
max.pcs |
numeric Maximal number of output principal components (default=3) |
loadings.filt.threshold |
numeric Minimal contribution to loadings, with which feature is considered as used (default=7.5e-2) |
List with the PCA results:
total.variance.explained |
fraction of the explained variance. |
pca.data |
transformed data with the optimal number of principal components. |
used.features |
features, which contribute to pca.data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.