| biosign-class {biosigner} | R Documentation |
The biosigner object class
methodVccharacter vector: selected classifier(s) ('plsda', 'randomforest', or 'svm')
accuracyMNnumeric matrix: balanced accuracies for the full models, and the models restricted to the 'S' and 'AS' signatures
tierMCcharacter matrix: contains the tier ('S', 'A', 'B', 'C', 'D', or 'E') of each feature for each classifier
yFcfactor with two levels: response factor
modelLslist: selected classifier(s) trained on the subset restricted to the 'S' features
signatureLslist: 'S' signatures for each classifier
xSubMNmatrix: dataset restricted to the 'S' tier
ASlist: 'AS' signatures and corresponding trained classifiers, in addition to the dataset restricted to tiers 'S' and 'A' ('xMN') and the labels ('yFc')
esetExpressionSet: when 'biosign' has been applied to an ExpressionSet, the instance with additional columns in fData containing the selected features is stored here
Objects can be created by calls of the form
new("biosign", ...) or by calling the biosign function
Philippe Rinaudo and Etienne Thevenot (CEA)
## loading the diaplasma dataset data(diaplasma) attach(diaplasma) ## restricting to a smaller dataset for this example featureSelVl <- variableMetadata[, "mzmed"] >= 490 & variableMetadata[, "mzmed"] < 500 dataMatrix <- dataMatrix[, featureSelVl] variableMetadata <- variableMetadata[featureSelVl, ] ## signature selection for all 3 classifiers ## a bootI = 5 number of bootstraps is used for this example ## we recommend to keep the default bootI = 50 value for your analyzes set.seed(123) diaSign <- biosign(dataMatrix, sampleMetadata[, "type"], bootI = 5) detach(diaplasma)