getTranscriptIdsForOneTSSKozakVariant: Find the ensembl_transcript_id and kozak_positions for one...

Description Usage Arguments Details Value

View source: R/utr_analysis.R

Description

getTranscriptIdsForOneTSSKozakVariants get the ensembl_transcript_id and kozak_positions for one variant in TSS Kozak region (8nt) [AG]..AUGG.

Usage

1
getTranscriptIdsForOneTSSKozakVariant(variant, transcriptRegions)

Arguments

variant

one variant

transcriptRegions

transcripts structure table from ensembl

Details

Get all transcripts and extract their checkRegion's coordinates. For each transcript, check if the mutation Pos is within the region, if so, add that transcript's ensembl_transcript_id. If the mutation Pos is within multiple transcripts checkRegions, the transcripts ids are concatenate into one string with ";".

Value

A data table containing two columns: ensembl_transcript_id (id of the transcripts for each variant which its mutation Pos is within TSS Kozak regions) kozak_positions (positions of each nucleotide in Kozak sequence)


utr.annotation documentation built on Aug. 23, 2021, 9:06 a.m.