gseq.extract: Returns DNA sequences

View source: R/compute.R

gseq.extractR Documentation

Returns DNA sequences

Description

Returns DNA sequences for given intervals

Usage

gseq.extract(intervals = NULL)

Arguments

intervals

intervals for which DNA sequence is returned

Details

This function returns an array of sequence strings for each interval from 'intervals'. If intervals contain an additional 'strand' column and its value is '-1', the reverse-complementary sequence is returned.

Value

An array of character strings representing DNA sequence.

See Also

gextract

Examples



gdb.init_examples()
intervs <- gintervals(c(1, 2), 10000, 10020)
gseq.extract(intervs)


misha documentation built on Sept. 14, 2023, 5:08 p.m.