Description Usage Arguments Details Value Author(s) See Also
Creates a new Multiple Sequences (MS) object to hold given sequences.
1 |
seqs |
A character vector containing sequences, one per sample |
names |
A character vector identifying the sample name for each
sequence. If |
offsets |
List of integers giving the offset for each sequences from the
start of its unsplit sequence. If |
pointer.only |
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:
If 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.
Setting 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.
Nick Peterson
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,
is.pointer.ms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.