| mapMutations | R Documentation |
mapMutations is a method for the class LowMACA
that re-maps the mutations on a sequence to the relative position in a consensus sequence.
mapMutations(object)
object |
an object of class LowMACA |
Every position in the consensus alignement correspond to different positions
in the single aligned sequences. The mutations are mapped according to this
scheme that can be evinced from the slot alignment.
mapMutations must be called after alignSequences and getMutations
An object of class LowMACA with an update in the slot mutations.
mapMutations add a object named aligned of class matrix in this slot
that represents the absolute number of mutations in each sequence/position
in the consensus as a matrix.
Stefano de Pretis , Giorgio Melloni
getMutations alignSequences LowMACA-class
#Create an object of class LowMACA lm <- newLowMACA(pfam="PF12906") #Align the sequences, requires clustalo ## Not run: lm <- alignSequences(lm) #Get mutations from the corresponding genes ## Not run: lm <- getMutations(lm) #Map mutations on the consensus sequence ## Not run: lm <- mapMutations(lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.