Description Usage Arguments Value Examples
Function to draw two heatmaps. They visualize the median intensity of the markers for the
created clusters. The ordering of the clusters is based on the default
hierarchical cluster analysis hclust
. Note that hclust takes the data after
the median intensity is calculated per cluster, thus placing the most similar clusters
next to each other.
1 | cytoHeatmaps(cfList, group, legend = FALSE)
|
cfList |
a cfList object. |
group |
one of:
|
legend |
logical, whether a legend should be added |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Read Data
dirFCS <- system.file("extdata", package="cytofast")
cfData <- readCytosploreFCS(dir = dirFCS, colNames = "description")
# Add cell counts to cfList and add meta data
cfData <- cellCounts(cfData, frequency = TRUE, scale = TRUE)
meta <- spitzer[match(row.names(cfData@samples), spitzer[,"CSPLR_ST"]),]
cfData@samples <- cbind(cfData@samples, meta)
# Remove unnecessary markers
cfData@expr <- cfData@expr[,-c(3:10, 13:16, 55:59, 61:63)]
# Draw heatmaps
cytoHeatmaps(cfData, group = "group", legend = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.