range2nt: calculates letter frequences in ranges of strings

View source: R/seqTools.R

range2ntR Documentation

calculates letter frequences in ranges of strings

Description

calculates letter frequences in ranges of strings, e.g., nucleotide sequences. The input is a sequence object as returned by readFASTA.

Usage

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 April 25, 2024, 10:14 a.m.