get.exprobntcx: get.exprobntcx

Description Usage Arguments Author(s) Examples

View source: R/get.exprobntcx.R

Description

Gets the expected probability for each trinucleotide and total number of tcx

Usage

1
get.exprobntcx(somatic, ref.dir, trinucleotide.count.file)

Arguments

somatic

Data frame of somatic variants

ref.dir

Path to a directory containing the reference genome.

trinucleotide.count.file

A tab seprarated file containing a count of all trinucleotides present in the reference genome. This can be generated with the get.trinucleotide.counts() function in this package.

Author(s)

Fan Fan

Fouad Yousif

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
load(
	paste0(
		path.package("SeqKat"),
		"/extdata/test/somatic.rda"
		)
	);

trinucleotide.count.file <- paste0(
	path.package("SeqKat"),
	"/extdata/tn_count.txt"
	);

example.ref.dir <- paste0(
	path.package("SeqKat"),
	"/extdata/test/ref/"
	);

get.exprobntcx(somatic, example.ref.dir, trinucleotide.count.file)

SeqKat documentation built on March 13, 2020, 1:59 a.m.