| getSequenceContext {YAPSA} | R Documentation |
Extracts the sequence context up and downstream of a nucleotide position
getSequenceContext(position, chr, offsetL = 10, offsetR = 50)
position |
Start position of the considered INDEL |
chr |
Chromosome of the considered INDEL |
offsetL |
Number of nucleotides downstream of |
offsetR |
Number of nucleotides upstream of |
Returns a character string containing the defined seqeunce context
library(Biostrings)
library(BSgenome.Hsapiens.UCSC.hg19)
sequence_context <- getSequenceContext(position = 123456789, chr = "chr12",
offsetL= 10, offsetR=50)
sequence_context