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 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
read.ms, or read.feat from package rphast
for more about
Features object