View source: R/consensus_string.R
This function is specifically designed to work in the situation of binning sequences based on PIDS, so it handles sequence names in a specific way. It assumes that the name of the first sequence is the name that needs to be given to the consensus sequence. Furthermore, it will append and underscore and the number of sequences that were used to construct the consensus to the end of this name.
1 2 | construct_consensus(seqs, technique = "Biostrings::consensusString",
params = list())
|
seqs |
The aligned sequences to construct a consensus of |
technique |
The technique to use |
params |
Extra parameters passed to the consensus string construction technique |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.