BioStringNewValues {Biostrings} | R Documentation |
This generic creates an external vector object that contains (in its
tag field) an R vector (of type either INTSXP
or
CHARSXP
) of the given length. The actual type is determined
according to the size of the alphabet.
BioStringNewValues(alphabet, length.string)
alphabet |
An object of class "BioAlphabet" |
length.string |
An integer, the length of the storage in the result |
An external pointer.
Saikat DebRoy
BioString-class
for the class which uses this
generic during its initialization and BioAlphabet-class
for the class of the alphabet
parameter.
BioStringNewValues(DNAAlphabet(), 0)