predictions,Classifier-method | R Documentation |
Classifies samples based on their profiles.
predictions(obj)
obj |
An object of the class Classifier. |
Use the functions covariates()
and
profiles()
to import data into the classifier.
Returns a list of data frames that contain the output from each
classification asset within the classifier. See classify()
for details on the result items.
# Simulated data. simu <- bcellALL(5) # Predict subtypes. cls <- classifier(verbose = FALSE) covariates(cls) <- simu$metadata profiles(cls) <- simu$counts pred <- predictions(cls) print(pred[[1]][,c("LABEL","PROX","EXCL")]) print(pred[[2]][,c("LABEL","PROX","EXCL")]) print(pred[[3]][,c("LABEL","PROX","EXCL")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.