split.ms: Split sequences

Description Usage Arguments Value See Also

View source: R/tfbs.R


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.


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



Multiple sequences object


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


Currently not used (for S3 compatibility)


Currently not used (for S3 compatibility)


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 May 19, 2017, 1:53 p.m.
Search within the rtfbs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.