MeichunCai / KataegisPortal

An R package for detecting and visualizing Kataegis events
7 stars 4 forks source link

KataegisPortal

KataegisPortal is an R package that provides utilities to detect and visualize the Kataegis events from single nucleotide variants (SNVs).

Installation

library(devtools)
install_github("MeichunCai/KataegisPortal")

How to use

# Load packages
library(KataegisPortal)
library(BSgenome)
library(BSgenome.Hsapiens.UCSC.hg19)

# Read in snv data
mutData <- system.file("examples", "mutData.txt", package="KataegisPortal")
mutData <- read.table(mutData, header = TRUE,sep = "\t",as.is = TRUE)
head(mutData)

# Covert to KataegisPortal input
mutSNP = mutSNP.input(mut.data = mutData,
            chr = "chr",
            pos = "pos",
            ref = "ref",
            alt = "alt",
            build = "hg19")

# Identify potential kataegis events
katPoint(mutSNP)

alt text

Citation