Description Usage Arguments Value Author(s) References See Also Examples
SWAP.Filter.Wilcoxon
filters the features to top
differential expressed
to be used for KTSP classifier implementation.
1 | SWAP.Filter.Wilcoxon(phenoGroup, inputMat, featureNo = 100, UpDown = TRUE)
|
phenoGroup |
a factor with levels containing training labels for the phenotype of interest. |
inputMat |
a numerical matrix containing feature
measurements to be used to implement the classifier
(e.g., the set of gene expression values).
The columns of this matrix correspond to samples and
must correspond to |
featureNo |
an integer specifying the number of different features to be returned. |
UpDown |
logical value specifying whether an equal proportion of features displaying opposite change across the two phenotypes should be returned (e.g.an equal number of up- and down-regulated genes). |
The names of the features that survived the statistical filtering, i.e. differential expressed features.
Bahman Afsari bahman.afsari@gmail.com, Luigi Marchionni marchion@jhu.edu
See switchBox for the references.
SWAP.KTSP.Classify
,
SWAP.Filter.Wilcoxon
,
SWAP.CalculateSignedScore
1 2 3 4 5 6 7 8 9 10 11 | ### Load gene expression data for the training set
data(trainingData)
### Return equal numbers of up- and down- regulated features (default)
SWAP.Filter.Wilcoxon(trainingGroup, matTraining, featureNo=10)
### Return the top 10 differentially expressed features irrispective to
### the direction of change.
### By setting the argument 'UpDown' equal to FALSE the number of
### up- and down- regulated features can be different
SWAP.Filter.Wilcoxon(trainingGroup, matTraining, featureNo=10, UpDown=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.