# NOT RUN {
data("mutations", package = "ctDNAtools")
## Use human reference genome from BSgenome.Hsapiens.UCSC.hg19 library
suppressMessages(library(BSgenome.Hsapiens.UCSC.hg19))
## with destranding
extract_trinucleotide_context(mutations, BSgenome.Hsapiens.UCSC.hg19)
## without destranding
extract_trinucleotide_context(mutations, BSgenome.Hsapiens.UCSC.hg19,
destrand = FALSE
)
# }
Run the code above in your browser using DataLab