Description Usage Arguments Value Examples
Make trinucleotides counts matrix from input data for a given reference genome.
1 | import.trinucleotides.counts(data, reference = NULL)
|
data |
a data.frame with variants having 6 columns: sample name, chromosome, start position, end position, ref, alt. |
reference |
a BSgenome object with the reference genome to be used to retrieve flanking bases. |
A matrix with trinucleotides counts per patient.
1 2 3 4 5 6 7 | ## Not run:
data(ssm560_reduced)
library("BSgenome.Hsapiens.1000genomes.hs37d5")
trinucleotides_counts = import.trinucleotides.counts(data=ssm560_reduced,
reference=BSgenome.Hsapiens.1000genomes.hs37d5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.