add_snvid: Add SNVID

Description Usage Arguments Value Author(s) Examples

View source: R/add_snvid.R

Description

A function that adds a SNV ID based on chromosome, start, end, reference allele and alternate allele.

Usage

1

Arguments

data

Dataframe containing annotated somatic mutation data (required)

Value

Returns the passed dataframe containing an additional

Author(s)

Richard J. de Borja <richard.deborja@uhnresearch.ca>

Examples

1
2
3
4
5
6
7
8
9
data <- data.frame(matrix(nrow=1, ncol=5))
colnames(data) <- c(
  "Chr",
  "Start",
  "End",
  "Ref",
  "Alt"
)
data <- add_snvid(data=data)

Bio-Core/BioCore.Annotation documentation built on Feb. 3, 2020, 6:01 p.m.