View source: R/median.heatmap.R
median.heatmap | R Documentation |
This function draws a heatmap with median values for each FCS file or for identified cluster with FlowCT::fsom.clustering()
## S3 method for class 'heatmap'
median(
fcs.SCE,
assay.i = "normalized",
cell.clusters = NULL,
markers.to.use = "all",
not.metadata = "filename",
colors = NULL
)
fcs.SCE |
A |
assay.i |
Name of matrix stored in the |
cell.clusters |
Name of column containing clusters identified through |
markers.to.use |
Vector with markers to use. Default = |
not.metadata |
Vector with variable names (from |
colors |
Vector with colors for plotting (if provided, it must be as long as the number of unique elements in the longer metadata field). Default = |
## Not run:
# option 1: general heatmap (by FCS file)
median.heatmap(fcs, not.metadata = c("sample_id", "file_name"))
# option 2: heatmap by SOM-identified clusters
median.heatmap(fcs.SCE = fcs, assay.i = "normalized", cell.clusters = "SOM")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.