stem: stem

Description Usage Arguments Value Examples

View source: R/stem.R

Description

Given a RNA secondary structure,it compute stem in the RNA secondary structure

Usage

1
stem(ctFile)

Arguments

ctFile

A RNA secondary structure file without the first line of free energy information

Value

Return a list containing base positions in stems

Examples

1
2
3
4
5
6
7
8
9
###
col1 <- c(1,2,3,4,5,6,7,8,9,10,11,12,13)
col2 <- c("G","A","C","U","G","G","G","G","C","G","G","U","C")
col3 <- c(0,1,2,3,4,5,6,7,8,9,10,11,12)
col4 <- c(2,3,4,5,6,7,8,9,10,11,12,13,0)
col5 <- c(13,12,11,10,9,0,0,0,5,4,3,2,1)
col6 <- c(1,2,3,4,5,6,7,8,9,10,11,12,13)
data <- matrix(c(col1,col2,col3,col4,col5,col6),byrow=FALSE,ncol = 6)
stem(data)

RNAstructureModuleMiner documentation built on May 29, 2017, 12:37 p.m.