FixPCSign: Correct the sign of the principal component

Description Usage Arguments

View source: R/pcsign.R

Description

Correct the sign of the principal component

Usage

1
2
FixPCSign(GeneScore, SampleScore, Wei = NULL, Mode = "none", DefWei = 1,
  Thr = NULL, Grouping = NULL, ExpMat = NULL, CorMethod = "pearson")

Arguments

GeneScore
SampleScore
Wei

vector, numeric optional vector of gene weigths

Mode

scalar, character. Mode to correct the sign

DefWei
Thr

scalar, numeric quantile threshold

Grouping
ExpMat
CorMethod

c("pearson", "kendall", "spearman")

PCAType

character string, the type of PCA to perform. It can be "DimensionsAreGenes" or "DimensionsAreSamples"


Albluca/rRoma documentation built on May 5, 2019, 1:35 p.m.