SWAP.PlotKTSP.Votes {switchBox} | R Documentation |
Given a k-TSP classifer and a matrix of data, plots a heatmap of the votes of the pairs computed on the given data.
SWAP.PlotKTSP.Votes(classifier, inputMat, Groups=NULL, CombineFunc, ...)
classifier |
is a k-TSP classifier produced by
|
inputMat |
is a matrix of data with rows being the features (such as gene names, if the matrix if gene expression data) and columns being the samples. |
Groups |
is a factor or a vector providing the phenotype class
each sample belongs to. It should correspond to the order of samples
given by the columns of |
CombineFunc |
is a function corresponding to the
|
Produces a heatmap where the color indicates a vote of 1 or 0 for a given sample by a top scoring pair.
Bahman Afsari bahman.afsari@gmail.com, Luigi Marchionni marchion@jhu.edu, Wikum Dinalankara wdinala1@jhmi.edu
See switchBox for the references.