Description Usage Arguments Value Author(s) References Examples
Conducts all pairwise comparisons of features selected following bootstrapping. Also known as the data perturbation ensemble approach.
1 | pairwise.stability(features, stability.metric, nc)
|
features |
A matrix of selected features |
stability.metric |
string indicating the type of stability metric. |
nc |
Optional argument to be used with 'kuncheva' stability. Refers
to the number of variables in original data.
Available options are |
A list is returned containing:
comparisons |
Matrix of pairwise comparisons |
overall |
The average of all pairwise comparisons |
Charles Determan Jr
He. Z. & Weichuan Y. (2010) Stable feature selection for biomarker discovery. Computational Biology and Chemistry 34 215-225.
1 2 3 4 5 6 7 8 9 10 11 | # pairwise.stability demo
# For demonstration purposes only!!!
some.numbers <- seq(20)
# matrix of Metabolites identified (e.g. 5 trials)
features <-
replicate(5, paste("Metabolite", sample(some.numbers, 10), sep="_"))
# nc may be omitted unless using kuncheva
pairwise.stability(features, "jaccard")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.