Description Usage Arguments Value Author(s) References See Also
SWAP.Kby.Ttest
can be supplied to a
kTSP classifier training function to select
an optimal k via performing t-tests.
1 2 3 | SWAP.Kby.Ttest(inputMat, phenoGroup,
scoreTable, classes, krange,
k_opts=list())
|
inputMat |
is a numerical matrix containing the measurements (e.g., gene expression data) to be used to build the K-TSP classifier. |
phenoGroup |
is a factor with two levels containing the phenotype information used to train the K-TSP classifier. |
scoreTable |
a data frame output of |
classes |
is a character vector of length 2 providing the phenotype class labels (case followed by control). If NULL, the levels of phenoGroup will be taken as the labels. |
krange |
an integer (or a vector of integers) defining the candidate number of Top Scoring Pairs (TSPs) from which the algorithm chooses to build the final classifier. |
k_opts |
is not used and is left for
conforming to the arguments of |
A vector of indices of length k indicating
which pairs from scoreTable
should be
selected.
Bahman Afsari bahman.afsari@gmail.com, Luigi Marchionni marchion@jhu.edu, Wikum Dinalankara wdinala1@jhmi.edu
See switchBox for the references.
SWAP.Kby.Measurement
,
SWAP.MakeTSPTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.