getTransInfo | R Documentation |
Generate a data frame object that contains information about input genomic feature set and its mapping results over the transcriptome.
getTransInfo(A, txdb)
A |
Genomic feature set, which should be a |
txdb |
A TxDb object. |
A data.frame
object containing the following components:
index_trans:
The label of transcripts.
index_features:
The label of genomic features.
seqnames:
The chr name.
features_pos:
The starting coordinate of each genomic feature.
width_features:
The width of each genomic feature.
strand:
The strand type of each genomic feature.
trans_ID:
The ids of the transcripts that each feature can be mapped to.
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
file <- system.file(package="RgnTX", "extdata/m6A_sites_data.rds")
m6A_sites_data <- readRDS(file)
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
getTransInfo(A = m6A_sites_data[1:100], txdb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.