View source: R/mosaicDataUpSet.R
mosaicDataUpSet | R Documentation |
Plots feature overlaps of mosaic data as an UpSet plot.
mosaicDataUpSet(assay_list, plot = FALSE, ...)
assay_list |
a list of data matrices with rownames (features) specified. |
plot |
logical (default FALSE) whether the UpSet plot should be printed. |
... |
further arguments passed to 'upset' from the 'UpSetR' package. |
UpSet object displaying degree of overlap of rownames (features)
among each of the data matrices in assay_list
. Set bars correspond to
the number of cells/samples present in each data matrix.
set.seed(2021) assay_list = mockMosaicData() lapply(assay_list, dim) mosaicDataUpSet(assay_list) # additional arguments from UpSetR::upset() mosaicDataUpSet(assay_list, empty.intersections = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.