Description Usage Arguments Value Note Author(s) Examples
Replace subsets of an alignment
1 2 | ## S3 replacement method for class 'msa'
x[rows, cols] <- value
|
x |
An object of type |
rows |
A numeric vector of sequence indices, character vector
(containing sequence names), or logical vector. If logical vector,
it will be recycled as necessary to the length of |
cols |
A numeric vector of alignment columns, or a logical
vector. If logical vector it will be recycled to the same length
as |
value |
The value to replace in the indicated rows/columns. Should
be a character representing a base (ie, "A", "C", "G", "T", "N", "-").
Can be a single value or a vector of values which match number of selected
cells. This value will be recycled to the necessary length, and an error
produced if the necessary length is not an even multiple of
|
An object of type msa
with the chosen rows/columns
replaced by value.
If x
is stored as a pointer, x will be changed to the
return value.
Melissa J. Hubisz
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.