upsetSamples | R Documentation |
UpSetR
Create a generalized Venn Diagram analog for sample membership in multiple
assays, using the upset algorithm in UpSetR
upsetSamples(
MultiAssayExperiment,
nsets = NULL,
sets = names(MultiAssayExperiment),
nintersects = NA_integer_,
order.by = "freq",
check.names = FALSE,
...
)
MultiAssayExperiment |
A |
nsets |
|
sets |
|
nintersects |
|
order.by |
How the intersections in the matrix should be ordered by. Options include frequency (entered as "freq"), degree, or both in any order. |
check.names |
|
... |
parameters passed to |
Produces a visualization of set intersections using the UpSet matrix design
This function is intended to provide convenient visualization of assay
availability configurations in MultiAssayExperiment instances. The
UpSetR::upset
function requires data.frame
input and has
many parameters to tune appearance of the result. Assay name handling is
important for interpretability.
Vincent J Carey
data(miniACC)
upsetSamples(miniACC)
upsetSamples(miniACC, nsets = 3, nintersects = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.