pairwise.stability {OmicsMarkeR} | R Documentation |
Conducts all pairwise comparisons of features selected following bootstrapping. Also known as the data perturbation ensemble approach.
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.
# 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")