Learn R Programming

RRNA (version 1.2)

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)

Value

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

Arguments

struct

Bracket notation. st="(((((....)))))..((..))"

seq

String containing the RNA sequence seq="AUAAUUAAAAAAAACCCCCAAA"

Author

JP Bida

Examples

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

ct=makeCt(st,seq) 

Run the code above in your browser using DataLab