gettRNABasePairing | R Documentation |
gettRNABasePairing
converts the dot bracket annotation into a
DotBracketDataFrame
. Base pairing is indicated by cosrresponding
numbers in the forward and reverse columns. For more detail have a look at
getBasePairing
.
gettRNALoopIDs
converts the dot bracket annotation into a
LoopIDList
. For more details have a look at
getLoopIDList
.
gettRNABasePairing(x, with.nucleotides = FALSE)
gettRNALoopIDs(x)
## S4 method for signature 'GRanges'
gettRNABasePairing(x, with.nucleotides = FALSE)
## S4 method for signature 'GRanges'
gettRNALoopIDs(x)
x |
a GRanges object created by |
with.nucleotides |
a single logical value: should the nucleotides be saved alongside the base pairing information in the 'base' column? |
gettRNABasePairing
:
The result is a DotBracketDataFrame
with following columns: pos,
forward, reverse, character and base. If a position is unpaired, forward and
reverse will be 0
, otherwise it will match the base paired positions.
gettRNALoopIDs
: return a list of list of loop ids.
data("gr", package = "tRNA")
gettRNABasePairing(gr[1])
gettRNALoopIDs(gr[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.