plotAbundances {CATALYST} | R Documentation |
Plots the relative population abundances of the specified clustering.
plotAbundances(x, ...) ## S4 method for signature 'daFrame' plotAbundances(x, k = "meta20", by = c("sample_id", "cluster_id"), group = NULL, shape = NULL)
x |
a |
... |
optional arguments. |
k |
character string. Specifies which clustering to use. |
by |
a character string specifying whether to plot frequencies by samples or clusters. |
group |
a character string. Should corresponds to a column name of
|
shape |
a character string. Should correspond to a column name of
|
a ggplot
object.
Helena Lucia Crowell helena.crowell@uzh.ch
Nowicka M, Krieg C, Weber LM et al. CyTOF workflow: Differential discovery in high-throughput high-dimensional cytometry datasets. F1000Research 2017, 6:748 (doi: 10.12688/f1000research.11622.1)
data(PBMC_fs, PBMC_panel, PBMC_md) re <- daFrame(PBMC_fs, PBMC_panel, PBMC_md) # run clustering re <- cluster(re) # plot relative population abundances plotAbundances(re, k="meta12") # ...by sample plotAbundances(re, k="meta8", by="cluster_id") # ...by cluster