Learn R Programming

RRNA (version 1.0)

makeCt: make a CT file from a structure and sequence

Description

Given an RNA secondary structure in bracket notation containing no pseudoKnots this function creates an R data frame that represents the secondary structures CT file.

Usage

makeCt(struct, seq)

Arguments

struct
Bracket notation. st="(((((....)))))..((..))"
seq
String containing the RNA sequence seq="AUAAUUAAAAAAAACCCCCAAA"

Value

Returns a data frame representing the bracket notaiton secondary structure in a CT file like format.

Examples

Run this code
st="(((((....)))))..((..))"
seq="AUAAUUAAAAAAAACCCCCAAA"

ct=makeCt(st,seq) 

Run the code above in your browser using DataLab