SWAP.MakeTSPTable {switchBox} | R Documentation |
Given the output from SWAP.CalculateScores
and a number maxk
,
makes a table of the top maxk pairs. The output of this function
can be provided to a k-selection function such as SWAP.Kby.Ttest
or SWAP.Kby.Measurement
to test out different k-selection methods.
SWAP.MakeTSPTable(Scores, maxk, disjoint = TRUE)
Scores |
is the output of a scoring function
such as |
maxk |
is an integer: the number of pairs to select. |
disjoint |
a logical indicating whether only disjoint pairs should be selected or not. |
A data frame of maxk
pairs, their score and tieVote
.
Bahman Afsari bahman.afsari@gmail.com, Luigi Marchionni marchion@jhu.edu, Wikum Dinalankara wdinala1@jhmi.edu
See switchBox for the references.
SWAP.Kby.Ttest
,
SWAP.Kby.Measurement
### load gene expression data data(trainingData) ### calculate scores scores = SWAP.CalculateScores(matTraining, trainingGroup, featureNo=5) ### make top 5 pair table SWAP.MakeTSPTable(scores, 5, FALSE)