Learn R Programming

RRNA (version 1.0)

loopLength: internal function that determines the length of a loop

Description

Used by RNAPlot to get the length of a loop

Usage

loopLength(input, start)

Arguments

input
CT file makeCt("((((...))))","AAAACCCUUUU")
start
Position of the first nucleotide in the the loop

Value

Retuns a list contianing the output and stems

Examples

Run this code
ct=makeCt("((((...((((..))))..((((...)))).))))","AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
out=loopLength(ct,4)

Run the code above in your browser using DataLab