Description Usage Arguments Methods Methods Methods Methods See Also Examples
class nvalidation:
Plot of misclassification rates in dependence of the number of features that were used for classification.
Total, class1 and class2 misclassification rates including confidence intervals can be plotted separately.
class prediction:
Plot methods for continuous predictions scores. Prediction scores are obtained by validation
of a predictor in a test set. Four methods for assessment and visualization of predictor performance can be selected by the parameter type
.
class predictor:
Among the three continuous prediction scores (z
, zeta
and ratio
), zeta
has the special property to be a linear combination of gene expression values. The plot method works only for the prediction score zeta
and visualizes the contribution of each gene to the score.
class validation:
Plots the misclassification rate in dependence of the training set size. Total, class1 and class2 misclassification rates can be plotted including confidence intervals.
1 |
x |
Object of class |
y |
missing |
... |
Further arguments directly passed to |
Object of class validation
missing
Three different kinds of plots can be generated: a xy-plot showing the misclassification rate in dependence of the training set size (type="xy"), a barplot showing the misclassification rates for each of the samples (type="samples"), a barplot showing how often (in %) a gene is included in a predictor (type="genes").
A character vector specifying the types of misclassification rates to be plotted. Possible types are the names of the classes and all for the total misclassification rate.
Only relevant if type="genes": annotation of the features by array probes (anno="probe") or gene symbols (anno="symbol").
Vector of numerical values corresponding to the method vector. The numerical values are equal to the confidence level, if equal to NULL, the corresponding confidence interval is not plotted.
A logical value. If TRUE, a logarithmic scale is used for the x-axis.
Position of legend specified by a keyword from the list "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right" and "center".
Only relevant if type="samples" or type="genes". Either results for predictors trained in training sets of different sample sizes (ntrain="all"), or results for predictors trained in training sets of the sample size specified by ntrain.
Only relevant if type="genes". Theshold for selection of the genes that are plotted.
Only relevant if type="genes": Number of top genes that are plotted.
Only relevant if type="samples". Color of the boxes for samples of class1 and of class2.
Range of the y-axis.
Only relevant if type="samples" or type="genes". Scaling factor for the labels of the x-axis.
Only relevant if type="xy". A vector of strings corresponding to curves. Specifies the colors of the plot curves.
Further arguments directly passed to plot
.
Object of class nvalidation
missing
Three different kinds of plots can be generated: a xy-plot showing the misclassification rate in dependence of the training set size (type="xy"), a barplot showing the misclassification rates for each of the samples (type="samples"), a barplot showing how often (in %) a gene is included in a predictor (type="genes").
A character vector specifying the types of misclassification rates to be plotted. Possible types are the names of the classes and all for the total misclassification rate.
Only relevant if type="genes": annotation of the features by array probes or gene symbols.
Vector of numerical values corresponding to the method vector. The numerical values are equal to the confidence level, if equal to NULL, the corresponding confidence interval is not plotted.
A logical value. If TRUE, a logarithmic scale is used for the x-axis.
Position of legend specified by a keyword from the list "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right" and "center".
Only relevant if type="samples" or type="genes". Either results for predictors including different number of genes (ngenes="all"), or results for predictors including the number of genes specified by the numeric value ngenes.
Only relevant if type="genes". Theshold for selection of the genes that are plotted.
Only relevant if type="genes": Number of top genes that are plotted.
Only relevant if type="samples". Color of the boxes for samples of class1 and of class2.
Range of the y-axis.
Only relevant if type="samples" or type="genes". Scaling factor for the labels of the x-axis.
Further arguments directly passed to plot
.
Object of class prediction
missing
Four different kinds of plots can be generated: a histogram showing the distribution of the prediction score in class1 and class2 (type="histogram"), a xy-plot showing sensitivity, specificity, positive prediction value (PPV) and negative prediction value (NPV) in dependence on cutoffs for the prediction score (type="curves"), an ROC curve including calculation of the area under the curve (type="roc"), a barplot showing the prediction score for each of the samples (type="samples").
Specification of the prediction scores used for the plot: score="z", "zeta" or "ratio". If type="roc" a comparative analysis of two or three scores can be done.
Distance of breaks.
Only relevant, if type="roc". The method to calculate confidence intervals for sensitivity and specificity. Possibly values are "exact", "ac", "asymptotic", "wilson", "prop.test", "bayes", "logit", "cloglog", "probit", see R package binom for details.
Only relevant if type="samples". Numerical or character vector of length two specifying the color of symbols for correct and wrong classifications.
Only relevant if type="curves". A vector of strings specifying the curves that are included into the plot. Can include "sensitivity", "specificity", "PPV" and "NPV".
Only relevant if type="curves". A vector of strings corresponding to curves. Specifies the colors of the plot curves.
Only relevant if type="roc". Numerical or character vector corresponding to the vector score. Specifies the line types used for the ROC plot.
Only relevant if type="logistic". Number of points to be plotted.
Only relevant if type="logistic". The probability of class membership is estimated by logistic regression. The parameter alpha specifies the confidence level for the confidence interval of this probability.
Title of the plot.
Only relevant if type="samples". Scaling factor for the labels of the x-axis.
Further arguments directly passed to plot
.
Object of class validation
missing
Currently only type="genes" is supported.
Number of genes in the predictor.
Character string specifying the method for calculation of the distance between test samples and the centroids. Possible values are "euclidean", "angle", "cor", "center".
Annotation of the features by array probes (anno="probe") or gene symbols (anno="symbol").
Label of the y-axis.
Title of the plot.
Further arguments directly passed to plot
.
1 | ### see: help(GOLUB);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.