Description Usage Arguments Value Examples
make_UpSet_plot() creates an UpSet plot from a list of unique identifiers such as UniProt accession numbers or proteoform record numbers.
1 2 3 4 5 6 7 | make_UpSet_plot(
UpSetlist,
plotType = "Protein",
barColor = "#4C4184",
savePDF = FALSE,
outputDir = getwd()
)
|
UpSetlist |
A list of lists of identifiers properly formatted for use by the UpSetR::upset() function. Alternatively, a data frame with columns named by fraction number and containing unique identifiers for proteins/proteoforms. |
plotType |
Type of UpSet plot to make. This only affects the axis titles and filename. Typical values are "Protein" or "Proteoform". Defaults to "Protein". |
barColor |
Color of bars in the UpSet plot. Defaults to MagLab purple ("#4C4184"). |
savePDF |
Boolean value, controls whether to save PDF output to outputDir. Defaults to FALSE. |
outputDir |
Directory to save PDF output. Defaults to R working directory. |
An UpSet plot created by UpSetR::upset(). If savePDF is TRUE, a PDF is saved to the output directory.
1 2 3 4 5 6 7 8 | make_UpSet_plot(
list(
list(
"Fraction1" = c("A", "B", "C", "D", "E"),
"Fraction2" = c("C", "D", "E", "F", "G")
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.