TransferPLSDA: Transfer the plsda variate manifold between datasets

Description Usage Arguments Details Value

View source: R/visualisation.R

Description

TransferPLSDA can be used if you use one dataset to train a plsda model which has generated variates in a reduced dimension space and you want to cast other datasets into that same reduced dimension space

Usage

1
TransferPLSDA(reference, query)

Arguments

reference

Seurat object of which RunPLSDA has already been performed. The query dataset will be mapped onto this one.

query

Dataset that you want to reduce the dimensions of.

Details

If you are finding that this is generating a lot of NaNs instead of variates for your query dataset it is likely that your plsda model is not well parametarised. Try running 'near.zero.var = TRUE' on your plsda

Value

Seurat object with new predicted plsda variates.


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.