Basepair Frequency {R4RNA} | R Documentation |
Calculates the frequency of each basepair in a given helix structure. Internally, breaks helices into basepairs, and returns a structure of unique basepairs, where the values is its frequency, regardless of original value.
basepairFrequency(helix)
helix |
A helix data.frame |
A helix data.frame of unique basepairs of length 1, with the frequency of appearance as its value, sorted by decreasing value.
Daniel Lai
data(helix) basepairFrequency(helix)