Skip to contents

#' 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

Usage

ggsamplevar(mutation)

Arguments

mutation

Raw mutation dataframe containing alteration data

Value

Histogram of counts of variants per tumor sample

Examples

ggsamplevar(gnomeR::mutations)