Multiple Sequence (MS) Objects
Creates a new Multiple Sequences (MS) object to hold given sequences.
A character vector containing sequences, one per sample
A character vector identifying the sample name for each
List of integers giving the offset for each sequences from the
start of its unsplit sequence. If
a boolean indicating whether returned alignment object should be stored by reference (see Details)
Make a new multiple sequence (MS) object given a vector of character strings. They can be optionally annotated with sample names.
The number of elements in names (if provided) must match the number of elements in seqs.
An alphabet (valid non-missing characters) of "ACGT" is automatically assumed for all sequences that RTFBS operates on.
About storing objects as pointers:
pointer.only==FALSE, the MS object will be stored in R and can be
viewed and modified by base R code as well as RTFBS functions.
pointer.only=TRUE will cause the object to be stored by
reference, as an external pointer to an object created by C code. This
may be necessary to improve performance, but the object can then only
be viewed/manipulated via RTFBS functions. Furthermore, if an object
is stored as a pointer, then its value is liable to be changed when
passed as an argument to a function.
An ms object. These are stored in an array-like format, so that they can be subsetted with the  operator.
Functions for accessing/viewing ms objects:
sequences.ms, offsets.ms, length.ms,
lengths.ms, names.ms, print.ms,
write.ms, [.ms, as.pointer.ms, from.pointer.ms,
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.