Delete a matrix.
Examples
# Mirrors writers.jl jldoctest at line 1147.
d <- example_cells_daf()
has_matrix(d, "gene", "cell", "UMIs", relayout = FALSE) # TRUE
#> [1] TRUE
has_matrix(d, "cell", "gene", "UMIs", relayout = FALSE) # TRUE
#> [1] TRUE
delete_matrix(d, "gene", "cell", "UMIs", relayout = FALSE)
has_matrix(d, "gene", "cell", "UMIs", relayout = FALSE) # FALSE
#> [1] FALSE
has_matrix(d, "cell", "gene", "UMIs", relayout = FALSE) # TRUE
#> [1] TRUE
delete_matrix(d, "gene", "cell", "UMIs", must_exist = FALSE)
has_matrix(d, "gene", "cell", "UMIs", relayout = FALSE) # FALSE
#> [1] FALSE
has_matrix(d, "cell", "gene", "UMIs", relayout = FALSE) # FALSE
#> [1] FALSE