Add one or more submatrices to a sparse score matrix
Source:R/scoremats.r
fill_in_sparse_score_mat.Rd
Add one or more submatrices to a sparse score matrix
Arguments
- sparse_matrix
either an existing (square) sparse matrix or a character vector of names that will be used to define an empty sparse matrix.
- ...
Additional matrices to insert into
sparse_matrix
. Row and column names must have matches insparse_matrix
.- diag
optional full diagonal for sparse matrix i.e. self-match scores.