gcContent.ms: Get GC content of each sequence in an MS object

Description Usage Arguments Value Examples

View source: R/tfbs.R

Description

Get GC content of each sequence in an MS object

Usage

1

Arguments

ms

MS object

Value

numeric vector containing GC content of each sequence in ms. GC content is computed as (# of GC bases)/(# of ACGT bases).

Examples

1
2
3
4
require("rtfbs")
seqs <- ms(seqs=c("AAAA", "ACACACAC", "CGCCG", "ACGTACGTACGT", "CGGGGGGGGGG"),
           paste("fake", 1:5, sep=""))
gcContent.ms(seqs)

rtfbs documentation built on May 29, 2017, 4:10 p.m.