View source: R/test.kataegis.R
test.kataegis | R Documentation |
Performs exact binomial test to test the deviation of the 32 tri-nucleotides counts from expected
test.kataegis(chromosome.num, somatic, units, exprobntcx, output.name, ref.dir,
chromosome.length.file)
chromosome.num |
Chromosome |
somatic |
Data frame of somatic variants |
units |
Base window size |
exprobntcx |
Expected probability for each trinucleotide and total number of tcx |
output.name |
Name of the generated output directory. |
ref.dir |
Path to a directory containing the reference genome. |
chromosome.length.file |
A tab separated file containing the lengths of all chromosomes in the reference genome. |
Fouad Yousif
load(
paste0(
path.package("SeqKat"),
"/extdata/test/somatic.rda"
)
);
load(
paste0(
path.package("SeqKat"),
"/extdata/test/exprobntcx.rda"
)
);
example.chromosome.length.file <- paste0(
path.package("SeqKat"),
"/extdata/test/length_hg19_chr_test.txt"
);
example.ref.dir <- paste0(
path.package("SeqKat"),
"/extdata/test/ref/"
);
test.kataegis(
4,
somatic,
2,
exprobntcx,
tempdir(),
example.ref.dir,
example.chromosome.length.file
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.