Learn R Programming

R4RNA (version 1.0.0)

Basepair Frequency: 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.

See Also

colourByBasepairFrequency

Examples

Run this code
    data(helix)
    basepairFrequency(helix)

Run the code above in your browser using DataLab