boot_FitSparsePCA: Finds initial cliques using a sparse PCA on bootstraps...

Description Usage Arguments Value Examples

View source: R/Initialize.R

Description

Finds initial cliques using a sparse PCA on bootstraps sub-samples

Usage

1
boot_FitSparsePCA(M, B, r, min.size = 1, cores = 1, unique = TRUE)

Arguments

M

Gaussian proxy for the original dataset. Possibly obtained using PLNmodels.

B

Number of bootstrap samples.

r

Number of missing actors.

min.size

Minimum number of neighbors of missing actors.

cores

Number of cores for parallel computation (uses mclapply, not available for Windows).

unique

Boolean for keeping only unique results.

Value

Examples

1
2
3
data=generate_missing_data(n=100,p=10,r=1,type="scale-free", plot=TRUE)
PLNfit=norm_PLN(data$Y)
boot_FitSparsePCA(PLNfit$MO, B=100, r=1)

Rmomal/VEMtree documentation built on Dec. 17, 2020, 5:17 p.m.