Usage Arguments Value Examples
View source: R/make_intersection_degree_plot.R
1 2 3 4 5 6 7 | make_intersection_degree_plot(
IDlist,
Yrange = c(0, 100),
plotType = "Protein",
fillColor = "#4C4184",
fontFamily = "sans"
)
|
IDlist |
A list of vectors. Each list item should be a vector of unique identifiers corresponding to protein or proteoform IDs, e.g. UniProt accession numbers or proteoform record numbers from the Consortium for Top-Down Proteomics proteoform atlas. |
Yrange |
Percentage range to use for the Y-axis of the plot. Defaults to 'c(0,100)'. |
plotType |
Type of plot to create, typically "Protein" or "Proteoform".This only affects the Y-axis title and can be any string. |
fillColor |
Fill color to use for bars on plot. Should be specified as a Hex code. Defaults to MagLab violet (#4C4184). |
fontFamily |
Font family to use for plot. Defaults to "sans". |
An intersection degree plot (a ggplot object).
1 2 3 4 5 6 7 8 | IDlist <-
list(
"Frac. 1" = c("A", "B", "C", "D"),
"Frac. 2" = c("A", "B", "E"),
"Frac. 3" = c("A", "E", "F")
)
make_intersection_degree_plot(IDlist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.