add_tx | R Documentation |
Annotate splice junctions with all possible transcript IDs in the given genomic region.
add_tx(df, transcripts)
df |
A data.frame with splice junctions in rows and at least the columns:
|
transcripts |
|
A data.frame as the input but with potentially multiple rows and with the additional column(s):
tx_id
the ID of the affected transcript
tx_lst
a list of GRanges
with the transcript
junc_df <- tibble::tibble(
junc_id = c("chr2:152389996-152392205:-", "chr2:152389996-152390729:-",
"chr2:152389955-152389956:-")
)
add_tx(junc_df, toy_transcripts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.