Description Usage Arguments Value Examples
View source: R/makeEpiTxDbFromGRanges.R
makeEpiTxDbFromGRanges
extracts informations from a
GRanges
object. The following
metadata columns can be used:
mod_id
, mod_type
, mod_name
and tx_ensembl
.
The first three are mandatory, whereas tx_ensembl
is optional.
rx_genename
, rx_rank
, rx_ensembl
,
rx_ensembltrans
and rx_entrezid
spec_type
, spec_genename
, spec_ensembl
,
spec_ensembltrans
and spec_entrezid
ref_type
and ref
... and passed on the makeEpiTxDb
.
1 | makeEpiTxDbFromGRanges(gr, metadata = NULL, reassign.ids = FALSE)
|
gr |
A |
metadata |
A 2-column |
reassign.ids |
= FALSE |
a EpiTxDb
object.
1 2 3 4 5 6 7 8 | library(GenomicRanges)
gr <- GRanges(seqnames = "test",
ranges = IRanges::IRanges(1,1),
strand = "+",
DataFrame(mod_id = 1L,
mod_type = "Am",
mod_name = "Am_1"))
etdb <- makeEpiTxDbFromGRanges(gr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.