range2nt: calculates letter frequences in ranges of strings

Description Usage Arguments

View source: R/seqTools.R

Description

calculates letter frequences in ranges of strings, e.g., nucleotide sequences. The input is a sequence object as returned by (genomeBrowser's version of) readFasta. TODO: move readFasta here and document!

Usage

1
range2nt(seq, ranges, coors = c(chr = "chr", start = "start", end = "end"))

Arguments

seq

a sequence object as returned by readFasta

ranges

a table provided ranges in each string

coors

coordinate names in ranges table


raim/segmenTools documentation built on Nov. 9, 2018, 5:38 p.m.