Description Usage Arguments Value Note Examples
Creates a matrix containing the mutational catalogue from a vcf file or object. The result can be input to the analysis functions of this package.
1 | vcf2mut_cat(vcf, genome, name = NULL, seqs = NULL)
|
vcf |
*.vcf file or a vcf object containing variant calling data for one patient |
genome |
a BSgenome object corresponding to the genome the variants were called on |
name |
optional, a sample name |
seqs |
optional, a character vector containing the names of the sequences that are to be included in the mutational profile. If none is given everything will we included |
mutational catalogue (matrix) of a patient containing SNV absolute counts (in the 96 trinucleotide context) format: 1 by 96
The execution can take some time, depending on the size of the vcf
1 2 3 4 | ## Not run:
vcf2mut_cat('test.vcf', BSgenome.Hsapiens.UCSC.hg19::BSgenome.Hsapiens.UCSC.hg19)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.