Learn R Programming

mogsa (version 1.6.4)

bootMbpcaK: An internal function called by bootMbpca.

Description

An internal function called by bootMbpca.

Usage

bootMbpcaK(data, replace, B = 100, mc.cores = 1, resample = c("sample", "total", "gene"), ncomp, method, k, center = FALSE, scale = FALSE, option = "uniform", maxiter = 1000, svd.solver = c("svd", "fast.svd", "propack"))

Arguments

data
A list of matrix to bootstrap.
replace
A logical variable to indicate sampling with or without replacement
B
Integer; number of bootstrap.
mc.cores
Integer; number of cores used in bootstrap. This value is passed to function mclapply
resample
Could be one of "sample", "gene" or "total". "sample" and "gene" means sample-wise and variable-wise resampling, repectively. "total" means total resampling.
ncomp
passed to mbpca.
method
passed to mbpca.
k
passed to mbpca.
center
passed to mbpca.
scale
passed to mbpca.
option
passed to mbpca.
maxiter
passed to mbpca.
svd.solver
passed to mbpca.

Value

A matrix of mbpca eigenvalues resulted from bootstrap samples

See Also

bootMbpca