classclustermeds {mineCitrus}R Documentation

Gets matrices of medians for each individual sample for all measured parameters for all clusters

Description

Gets matrices of medians for each individual sample for all measured parameters for all clusters

Usage

classclustermeds(citrus.foldFeatureSet, citrus.foldClustering,
  citrus.combinedFCSSet, groupsizes, meds)

Arguments

citrus.foldFeatureSet

computed from first two variables using citrus.calculateFoldFeatureSet function from citrus package

citrus.foldClustering

loaded from citrusClustering.RData file generated by Citrus run

citrus.combinedFCSSet

loaded from citrusClustering.RData file generated by Citrus run

groupsizes

list of sizeso f the groups run in Citrus, in order of the selection for citrus run

meds

The names of the columns from citrus.combinedFCSSet$data of interest to extract medians for

Value

Returns a list of matrices with columns corresponding to selected features and rows corresponding to sample groups; each list element corresponds to data for a different cluster

Examples

library(mineCitrus)
data("citrus.combinedFCSSet")
data("citrus.foldClustering")
data("citrus.foldFeatureSet")
meds<-allmeds(citrus.combinedFCSSet=citrus.combinedFCSSet,
              citrus.foldClustering=citrus.foldClustering,
              citrus.foldFeatureSet=citrus.foldFeatureSet)
medians<-classclustermeds(citrus.foldFeatureSet,citrus.foldClustering,
                          citrus.combinedFCSSet,groupsizes=c(10,10),meds=meds)


[Package mineCitrus version 1.0.0 Index]