PhiSpaceR_1ref.Rd
PhiSpace using a single reference
PhiSpaceR_1ref(
reference,
query,
phenotypes = NULL,
response = NULL,
PhiSpaceAssay = "rank",
regMethod = c("PLS", "PCA"),
ncomp = NULL,
nfeat = NULL,
selectedFeat = NULL,
center = TRUE,
scale = FALSE,
DRinfo = FALSE,
assay2rank = NULL
)
SCE. The reference.
SCE or a list of SCE. The query.
Charater. Which types of phenotypes to predict. If NULL
, then have to specify response
. Currently only support categorical phenotypes. For continuous ones, specify response
directly.
Named matrix. Rows correspond to cells (columns) in reference; columns correspond to phenotypes. If not NULL
, then will override phenotypes
. Can be continuous values such as age and BMI.
Character. Which assay to use to train
Character. Regression method: one of PLS and PCA
Integer.
Integer.
Character.
Logic.
Logic.
Logic. Whether to return dimension reduction information from PCA or PLS. Disable to save memory.
Which assay should be used for rank transform. If not specified, "rank" will be used.
A list