
PPCA Imputation
impute_ppca.RdA wrapper around the pcaMethods::pca().
Impute missing values using probabilistic principal component analysis (PPCA).
PPCA allows to perform PCA on incomplete data and may be used for missing value estimation.
Usage
impute_ppca(x, by = NULL, ...)
# S3 method for class 'glyexp_experiment'
impute_ppca(x, by = NULL, ...)
# S3 method for class 'matrix'
impute_ppca(x, by = NULL, ...)
# Default S3 method
impute_ppca(x, by = NULL, ...)Arguments
- x
Either a
glyexp_experimentobject or a matrix. If a matrix, rows should be variables and columns should be samples.- by
Either a column name in
sample_info(string) or a factor/vector specifying group assignments for each sample. Used for grouping when imputing missing values.- ...
Additional arguments to pass to
pcaMethods::pca().