sPLSDA: sPLSDA function

Description Usage Arguments

View source: R/supportFunc_splsda.R

Description

takes in predited weights and true labels and determines performance characterisitcs

Usage

1
2
sPLSDA(X.train, Y.train, keepX, ncomp, X.test = NULL, Y.test = NULL,
  filter = "p.value", topranked = 50)

Arguments

X.train

n1xp dataset (discovery cohort)

Y.train

vector of phenotype labels with names(Y.train) == rownames(X.train)

keepX

(# of variables to select per component)

ncomp

number of components

X.test

n2xp dataset (validaton cohort)

Y.test

vector of phenotype labels with names(Y.test) == rownames(X.test)

filter

apply no filter "none" or a p.value filter "p.value

topranked

select the top significant variables based on limma


singha53/amritr documentation built on July 21, 2019, 3:46 p.m.