Description Usage Arguments Details Value See Also Examples
View source: R/Assessment-class.R
The as.matrix
method for Assessment
and subclass Results
objects
1 2 |
x |
An object of class |
... |
Additional arguments. |
as.matrix.Assessment
tabulates and returns the number of times each category appears in the CategoryAssignments
vector within the given Results
object. If the number of genes for any the 14 main gene / ORF categories is zero, a
count (of zero) will still be included for that category.
A one-row matrix with the counts for the number of genes/ORFs that fall into each category. The corresponding category codes serve as the column names, and the name of the row is the strain ID.
1 2 3 | as.matrix(readRDS(system.file("extdata",
"MGAS5005_PreSaved_ResultsObj_Prodigal.rds",
package = "AssessORF")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.