Last chance! 50% off unlimited learning
Sale ends in
Sequence objects aggregating Site objects having a CodonAlphabet attached by default.
Package: Class CodonSequence
Object
~~|
~~+--
PSRoot
~~~~~~~|
~~~~~~~+--
Sequence
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
CodonSequence
Directly known subclasses:
public static class CodonSequence extends Sequence
CodonSequence(name=NA, string=NA, length=NA, table.id=1, processes=NA, ancestral.obj=NA,
...)
Name of the Sequence object.
A string specifying the length and the states of the Sequence object.
The length of the sequence. Mutually exclusive with "string".
The genetic code table to use in the attached CodonAlphabet object ("Standard" by default).
A list of lists of Process objects, to be attached to the aggregated Site objects. Recycled if shorter than the length of the sequence.
The ancestral object of the Sequence object (a valid Sequence or Process object).
Not used.
Methods:
Translate |
- | |
checkConsistency |
- | |
getOmegas |
- | |
omegaHist |
- | |
omegaVarM0 |
- | |
omegaVarM1 |
- | |
omegaVarM2 |
- | |
omegaVarM3 |
- | |
omegaVarM4 |
- | |
setOmegas |
- |
Methods inherited from Sequence: as.character, attachProcess, checkConsistency, clearStates, clone, copySubSequence, deleteSubSequence, detachProcess, getAlphabets, getAncestral, getBigRate, getCumulativeRates, getCumulativeRatesFromRange, getDeletionTolerance, getEvents, getId, getInsertionTolerance, getLength, getName, getOmegas, getParameterAtSites, getProcesses, getRateMultipliers, getSites, getStates, getString, getSymbolFreqs, getTotalRates, getTotalRatesFromRange, getUniqueAlphabets, getUniqueProcesses, getWriteProtected, insertSequence, is, plot, plotParametersAtSites, plusGamma, plusInvGamma, sampleStates, setAlphabets, setAncestral, setBigRate, setCumulativeRates, setDeletionTolerance, setId, setInsertionTolerance, setLength, setName, setOmegas, setParameterAtSites, setProcesses, setRateMultipliers, setStates, setString, setTotalRates, setUniqueAlphabets, setUniqueProcesses, setWriteProtected, summary
Methods inherited from PSRoot: checkConsistency, enableVirtual, getComments, getMethodsList, globalConsistencyCheck, intersect.list, is, is.na, ll, my.all.equal, plot, setComments, setMethodsList, summary, virtualAssignmentForbidden
Methods inherited from Object: $, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, names, objectSize, print, save
For more information see CodonSequence
.
# NOT RUN {
# create an empty CodonSequence object
s<-CodonSequence(length=50)
s
# set states
s$states<-c("ATG","CGA","TTT","CTA")
s
# create a sequence object by specifying a string
s<-CodonSequence(string="ATCTTTCGAATG")
s
# }
Run the code above in your browser using DataLab