Nothing
plotInteractionsBySource <- function(queryResult, ...) {
if (missing(queryResult)) {
stop("Input argument 'queryResult' missing.")
} else if (!is(queryResult, 'rDGIdbResult')) {
stop("Wrong input format, object of class 'rDGIdbResult' required.")
} else if (nrow(resultSummary(queryResult)) == 0) {
stop("Input has no interactions to plot.")
}
data <- resultSummary(queryResult)
columnSums <- sort(colSums(data[,3:(ncol(data) - 2)]), decreasing = TRUE)
op <- par(mar = c(5,13,3,1))
barplot(columnSums, las = 2, las = 1, horiz = TRUE,
xlab = "Number of interactions", ... = ...)
invisible()
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.