Description Usage Arguments Author(s) Examples
View source: R/test.kataegis.R
Performs exact binomial test to test the deviation of the 32 tri-nucleotides counts from expected
1 2 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 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.