Description Usage Arguments Value Examples
Reorders to rows (corresponding to different clusters) of a matrix of medians to a desired order
1 | sortmat(mat, desiredorder)
|
mat |
matrix of median data |
desiredorder |
row labels from matrix in desired order |
Returns a matrix with rows rearranged in desired order
1 2 3 4 5 6 7 8 9 10 11 | library(mineCitrus)
data("citrus.combinedFCSSet")
data("citrus.foldClustering")
data("citrus.foldFeatureSet")
medians<-clustermeds(citrus.foldFeatureSet=citrus.foldFeatureSet,
citrus.foldClustering=citrus.foldClustering,
medsofinterest=c("Red","Blue"),
citrus.combinedFCSSet=citrus.combinedFCSSet)
names<-rownames(medians)
names<-names[c(31,1:30)]
sortedmedians<-sortmat(mat=medians,desiredorder=names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.