Basepair Frequency {R4RNA}R Documentation

Calculates the frequency of each basepair

Description

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.

Usage

    basepairFrequency(helix) 

Arguments

helix

A helix data.frame

Value

A helix data.frame of unique basepairs of length 1, with the frequency of appearance as its value, sorted by decreasing value.

Author(s)

Daniel Lai

See Also

colourByBasepairFrequency

Examples

    data(helix)
    basepairFrequency(helix)

[Package R4RNA version 1.20.0 Index]