Learn R Programming

RRNA (version 1.0)

ct2coord: Generate coordinate file

Description

Creates a coordinate file from a CT file that has been loaded into a data frame

Usage

ct2coord(input)

Arguments

input
Data frame representing a ct file. Created from makeCt or loadCt

Value

Returns a coordinate file for the secondary structure represented in the CT file

See Also

RNAPlot

Examples

Run this code
ct=makeCt("((((...(((((((....)))))))...((((...))))...))))",
          "CCCCAAAGGGGGGGAUUACCCCUCCUUUAAAAGGGUUUUCCCCCCC"
         )
coord=ct2coord(ct)
RNAPlot(coord)

Run the code above in your browser using DataLab