bootMbpcaK: An internal function called by 'bootMbpca'.

Description Usage Arguments Value Author(s) See Also

View source: R/bootMbpcaK.R

Description

An internal function called by bootMbpca.

Usage

1
2
3
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

Author(s)

Chen Meng

See Also

bootMbpca


mengchen18/mogsa documentation built on Nov. 23, 2017, 1:57 a.m.