psite_to_codon_count | R Documentation |
Function to count reads per codon for each transcript.
psite_to_codon_count(reads_psite_list, length_range, annotation, fasta.file)
reads_psite_list |
A reads_psite_list object produced by |
length_range |
Range of read lengths to be included in calculation of per codon RPF counts. Longer and shorter reads may be excluded because of high uncertainty in offset assignment, lack of expected periodicity, etc. |
annotation |
Annotation data table produced by |
fasta.file |
The reference fasta file to which reads were mapped. |
A list of lists with the following structure: list$<sample.name>$<transcript.ID> data.frame: [1] codon_number [2] codon_type [3] aa_type [4] observed_count
tr_codon_read_count_LMCN <- psite_to_codon_count(reads_psite_list_LMCN, c(24:32), annotation_human_cDNA, "<file.path>/Human.GRC38.96_cDNA_longest_CDS.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.