mapToCDS.Rd
Maps variants from genomic coordinates to CDS (coding sequence) positions.
mapToCDS(
object,
gff,
exonPadding = 12,
output = NULL,
gene_id = NULL,
transcript_id = NULL,
biotype = NULL,
verbose = TRUE
)
Input gdb
.
Can be 1) a path to a valid gff- or gtf-file or 2) a GenomicRanges::GRanges object. Generated, for example, by importing an ensembl gtf file.
Remap variants within exonPadding
base pairs from the exon border to the border. Defaults to 12.
Optional output (.gz). If NULL
remapped coordinates will be returned to session.
Optional vector of gene ids to keep in the gff/gtf file.
Optional vector of transcript ids to keep in the gff/gtf file.
Optional vector of biotypes to keep in the gff/gtf file.
Should the function be verbose? Defaults to TRUE
.