View source: R/get_pep_prot_cc.R
plotJitter_rCharts | R Documentation |
Display a a jitter plot for CC
plotJitter_rCharts(df, clickFunction = NULL)
df |
xxxx |
clickFunction |
xxxx |
A plot
Thomas Burger, Samuel Wieczorek
data(Exp1_R25_pept, package="DAPARdata")
obj <- Exp1_R25_pept[seq_len(100)]
X <- BuildAdjacencyMatrix(obj, "Protein_group_IDs", TRUE)
ll <- get.pep.prot.cc(X)[1:4]
n.prot <- unlist(lapply(ll, function(x) {length(x$proteins)}))
n.pept <- unlist(lapply(ll, function(x) {length(x$peptides)}))
df <- tibble::tibble(
x = jitter(n.pept),
y = jitter(n.prot),
index = seq_len(length(ll))
)
plotJitter_rCharts(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.