Description Usage Arguments Value Author(s) References See Also Examples
View source: R/exportedFuncs.R
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.
1 | 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
1 2 3 4 5 6 7 8 | ### 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.