Description Usage Arguments Value Author(s) See Also Examples
very poorly conserved regions are likely to be regions that are either not homologous between the sequences being considered (and so do not add any phylogenetic signal), or are homologous but are so diverged that they are very difficult to align accurately (and so may add noise to the phylogenetic analysis, and decrease the accuracy of the inferred tree) this function takes an alignment in phylip format made by an alignment software like clustal omega and clean the alignment based on a defined percentage of non-gap positions and a defined percentage of sequence identity between all sequences considered for phylogenetic analysis
1 | clean_alignment(alignment, minpcnongap, minpcid)
|
alignment |
object of type alignment in phylip format with the aligned sequences to be checked for similarity and cleaned. A file in format phylip is generated by an alignment software from a .fasta file containing the sequences and loaded to the R environment |
minpcnongap |
integer for the desired minimal percentage of non-gap positions between alignments for each position being analysed |
minpcid |
integer for the desired minimal percentage of sequence identity between alignments for each position being analysed |
this function returns a sequences alignment in phylip format
gerardo esteban antonicelli
'retrieve_seqs'
'print_alignment'
'load_alignment'
'make_tree'
'max_parsimony'
1 2 3 | data(phylipProt)
cleaned_phylipProt <- clean_alignment(phylipProt, 30, 30)
print_alignment(cleaned_phylipProt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.