Description Usage Arguments Details Value See Also Examples
Generate the sparse mapping matrix from a two-columns table.
1 |
table |
The two-columns table as matrix or data frame. The other columns will not be used, if available. |
rows |
The row names for the mapping matrix. |
cols |
The column names for the mapping matrix. |
This function generates the sparse logical matrix from the two-columns table returned by toTable
in Bioconductor package AnnotationDbi
.
This function returns a sparse logical matrix.
1 2 3 4 5 6 7 | ## Not run:
if (!requireNamespace("BiocManager"))
install.packages("BiocManager")
BiocManager::install("org.Hs.eg.db")
x <- toMatrix(toTable(org.Hs.egGO2ALLEGS))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.