R/plotClusterWeights.r

Defines functions plotClusterWeights

plotClusterWeights <- function(dat){
  ggplot(dat$Clusters, aes(x = Mean, y = Weight, fill = ClusterName, size = Weight)) +
    geom_point(shape = 21) + facet_wrap(~ Sample, ncol = 1) +
    theme_bw() + xlim(0,1) + ylim(0,1)
}
PaulPyl/JagsCluster documentation built on May 23, 2019, 10:34 p.m.