Man pages for jgygi/SPEAR
SPEAR - Sparse Supervised Bayesian Factor Model for Multi-omic Analyses

add.dataAdd a dataset to a SPEAR object.
assessAssess the predictions from the SPEAR model using a variety...
check.fitCheck if a fit object is generated and if a weight has been...
check.fold.idsConfirm fold.ids will work in cv.spear
create.paramsCreate the parameters for SPEAR. Private method.
cv.evaluateEvaluate cv SPEAR object
encode.ordinalEncode a matrix or data.frame (Y) into ordinal (0, 1, 2, ...)
estimate.num.factorsEstimate the number of factors needed for the SPEAR model.
generate.fold.idsRandomly generate fold.ids to be used for reproducibility in...
generate.spear.idsRandomly generate identifiers for analytes (to prevent...
get.analyte.scoresGet features from a SPEAR object.
get.concatenated.XRandomly generate identifiers for analytes (to prevent...
get.cv.lossGet the loss from the cross validation. Must be called from a...
get.dataExtract a dataset from a SPEAR object.
get.factor.contributionsGet factor contributions to response prediction from a SPEAR...
get.factor.scoresGet factor scores from a SPEAR object for a particular...
get.predictionsGet predictions from a SPEARobject and a dataset 'data'.
get.signaturesGet features from a SPEARobject.
get.variance.explainedGet variance explained per assay from a SPEAR object.
get.widx.from.methodGet a w.idx from a method (private function, can't be called...
get.YRandomly generate identifiers for analytes (to prevent...
new.spearMake a SPEARobject. Will return an R6 class SPEARobject used...
one.hot.encode.multinomialOne-hot encode a matrix or data.frame (Y)
plot.cv.lossGet the loss from the cross validation. Must be called from a...
plot.factor.contributionsPlot variance explained for a SPEAR object.
plot.factor.scoresPlot factor scores from a SPEARobject for a particular...
plot.variance.explainedPlot variance explained for a SPEAR object.
print.outPrint out a variety of summary information about a...
remove.dataRemove a dataset from a SPEAR object.
set.color.schemeSet the colors for a SPEAR object, to be used in plotting...
set.responseChoose a response to be preferred for plotting functions....
set.weightsChoose a combination of weights for a SPEAR object. Print...
spearSPEAR - SuPervised Bayes fActor for Multi-omics imports:
train.spearRun SPEAR
update.dimnamesUpdate the dimension names for all SPEARobject matrices. Used...
jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.