Description Usage Arguments Details Value Examples
View source: R/consensusMatrix.R
Tallies characters at each position for a set of character vectors without any Bioconductor packages.
1 |
x |
The sequence data of type SeqFastadna |
Designed to function like consensusMatrix from Biostrings.
Note that seqinr uses lower case letters and Biostrings uses upper case letters.
This function can handle upper and lower case input, but will only produce upper case output.
To prevent a dependency on a bioconductor package, this is not properly set up as a method for the consensusMatrix generic defined in Biostrings.
A matrix with columns representing positions in the sequence and rows the allowed characters in IUPAC notation of nucleotides and cells the counts of the respective character at the respective position.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.