SWAP.PlotKTSP.Votes: Plots a heatmap of k-TSP votes.

Description Usage Arguments Value Author(s) References See Also

Description

Given a k-TSP classifer and a matrix of data, plots a heatmap of the votes of the pairs computed on the given data.

Usage

1
2
SWAP.PlotKTSP.Votes(classifier, inputMat, 
  Groups=NULL, CombineFunc, ...)

Arguments

classifier

is a k-TSP classifier produced by SWAP.KTSP.Train.

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 inputMat. These phenotype labels will be added to the x-axis of the heatmap.

CombineFunc

is a function corresponding to the CombineFunc argument of the SWAP.KTSP.Classify function.

Value

Produces a heatmap where the color indicates a vote of 1 or 0 for a given sample by a top scoring pair.

Author(s)

Bahman Afsari bahman.afsari@gmail.com, Luigi Marchionni marchion@jhu.edu, Wikum Dinalankara wdinala1@jhmi.edu

References

See switchBox for the references.

See Also

SWAP.KTSP.Train


marchion/switchBox documentation built on May 9, 2019, 4:07 p.m.