View source: R/plotting-functions.R
ggsamplevar | R Documentation |
#' Utility Function to Extract SNV #' #' @param x string #' @param n number of characters from right #' #' @return string #' @noRd #' @examples #' substrRight("Hello", 2) #' substrRight <- function(x, n) x <- as.character(x) substr(x, nchar(x) - n + 1, nchar(x)) Histogram of Variants Per Sample Colored By Variant Classification
ggsamplevar(mutation)
mutation |
Raw mutation dataframe containing alteration data |
Histogram of counts of variants per tumor sample
ggsamplevar(gnomeR::mutations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.