summarizeWithPca: Summarize Using PCA

Description Usage Arguments

Description

Given a matrix it summarize to a 0 or 1

Usage

1
2
summarizeWithPca(data, features, name = "pca", shrink = FALSE,
  method = "regular", cliques = NULL, maxPCs = 3, loadThr = 0.6)

Arguments

data

a data matrix

features

a vector with the features to analyze

name

prefix of the covariates

shrink

shirnk or not the covariance matrix.

method

either "regular", "sparse" or "topological"

cliques

the features organized in cliques. Only use for topology.

maxPCs

maximum number of pcs to consider

loadThr

loading threshold


cavei/MOSClip documentation built on May 12, 2019, 5:22 p.m.