hairpin_loop: Internal function for getting hairpin loops

Description Usage Arguments Value Examples

View source: R/hairpin_loop.R

Description

Given a RNA secondary structure,it compute hairpin loops in the RNA secondary structure

Usage

1
hairpin_loop(ctFile)

Arguments

ctFile

A RNA secondary structure file containing structure information

Value

Return a list containing base positions in hairpin loops,and the length of the number of hairpin loops

Examples

1
2
3

Example output

Loading required package: RRNA

Attaching package: 'RNAsmc'

The following object is masked from 'package:graphics':

    stem

[[1]]
 [1] 20 21 22 23 24 25 26 27 28 29

[[2]]
[1] 56 57 58 59

attr(,"number of bases in hairpin loops")
[1] 14
attr(,"number of hairpin loops")
[1] 2
attr(,"Maximum length of hairpin loops")
[1] 10
attr(,"Minimum length of hairpin loops")
[1] 4
attr(,"Average length of hairpin loops")
[1] 7

RNAsmc documentation built on Dec. 11, 2018, 9:04 a.m.