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 [email protected], Luigi Marchionni [email protected], Wikum Dinalankara [email protected]

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)
``` |

switchBox documentation built on Nov. 1, 2018, 2:46 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.