getExonProtBoundary: Get amino acid sequence ranges residing in each exon

Description Usage Arguments Value

View source: R/genetic_code_sav.R

Description

Given a GRanges object of exon boundaries, this function determines the range of amino acids residing in each exon. Split AA will appear in both exons.

Usage

1
getExonProtBoundary(GRangesObj)

Arguments

GRangesObj

A GRangeObj containing boundaries of each exon in the coding sequence. Generated internally in mapCodon.

Value

A data.frame with six columns: exon: exon number lengths: length (in nucleotides) of the exon prot_start: amino acid position at the beginning of the exon prot_end: amino acid position at the end of the exon carried_forfward: the number of nucleotides from the previous exon which does not yield a complete codon. accu_length: running sum of length (in nucleotides) of the coding DNA sequence.


josef0731/CDSMutSig documentation built on Dec. 21, 2021, 2:19 a.m.