ggsamplevar: #' Utility Function to Extract SNV #' #' @param x string #'...

View source: R/plotting-functions.R

ggsamplevarR 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

Description

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


MSKCC-Epi-Bio/gnomeR documentation built on March 28, 2024, 2:42 a.m.