gnomeR
gnomeR copied to clipboard
Add internal function to check binary matrix inputs
Functions like summarize_by_gene()
, susbet_by_frequency()
and tbl_genomic()
all require a binary matrix input. These all have internal checks but we should synthesize into one input checking function (maybe .check_gene_binary()
or sanitize_gene_binary()
).
This may apply to some plotting functions as well.
Consider making gene_binary() a class?