split.ms: Split sequences

Description Usage Arguments Value See Also

View source: R/tfbs.R

Description

Split sequences in MS object at given locations, or based on a numeric window size. If splitting based on a numeric window size, (i.e. every 500 bases) specify the maximum number of bases per sequence in the f parameter. If splitting based on specific locations, use read.feat(FullPath) to read in a BED file specifying the locations, and use the resulting object in the f parameter.

Usage

1
2
## S3 method for class 'ms'
split(x, f, drop = FALSE, ...)

Arguments

x

Multiple sequences object

f

Numeric window size, or Features object used to determine where to split sequences

drop

Currently not used (for S3 compatibility)

...

Currently not used (for S3 compatibility)

Value

MS object, containing the split sequences

See Also

read.ms, or read.feat from package rphast for more about Features object


rtfbs documentation built on Jan. 22, 2020, 1:07 a.m.