scores,Classifier-method {Allspice}R Documentation

Category scores

Description

Classification scores for samples based on their profiles.

Usage

scores(obj)

Arguments

obj

An object of the class Classifier.

Details

Use the functions covariates() and profiles() to import data into the classifier.

Value

Returns a list of data frames that contain the output from each classification asset within the classifier.

Examples

# Simulated data.
simu <- bcellALL(5)

# Predict subtypes.
cls <- classifier(verbose = FALSE)
covariates(cls) <- simu$metadata
profiles(cls) <- simu$counts
z <- scores(cls)
print(z[[1]][,1:5])
print(z[[2]][,1:5])
print(z[[3]][,1:5])

[Package Allspice version 1.0.5 Index]