Title

tunePhiSpace(
  reference,
  assayName = "logcounts",
  phenotypes = NULL,
  YY = NULL,
  ncomp = NULL,
  impScores = NULL,
  center = TRUE,
  scale = FALSE,
  tune_ncomp = TRUE,
  tune_nfeat = TRUE,
  ncompLimits = c(1, 100),
  ncompGridSize = 20,
  ncompGrid = NULL,
  selectedFeat = NULL,
  nfeatLimits = c(10, 15000),
  nfeatGridSize = 30,
  nfeatV = NULL,
  Kfolds = 5,
  regMethod = "PLS",
  labelCode = "-1,1",
  Ncores = 1,
  seed = 5202056
)

Arguments

reference

SingleCellExperiment object.

assayName

Character.

phenotypes

Character.

YY

Matrix.

ncomp

Integer.

impScores

Matrix.

center

Logical.

scale

Logical.

tune_ncomp

Logic.

tune_nfeat

Logic.

ncompLimits

Vector.

ncompGridSize

Integer.

ncompGrid

Vector.

selectedFeat

Vector.

nfeatLimits

Vector.

nfeatGridSize

Integer.

nfeatV

Vector.

Kfolds

Integer.

regMethod

Character.

labelCode

Character.

Ncores

Integer.

seed

Integer.

Value

A list