Description Usage Arguments Value See Also Examples
The function binds rows of several input k-mer matrices (of type Matrix), which are results of count_kmers and count_multimers. This implementation also handles properly k-mer matrices that do not have the same columns, as opposed to the implementation of rbind.
1 |
... |
k-mer matrices of type Matrix |
a k-mer matrix of type Matrix that is the result of the rbind operation
Function that count k-mers of one type: count_kmers
Function that counts many k-mer variants in the single invocation: count_multimers
1 2 3 4 5 6 7 8 | batch_size <- 1
# k-mer counting
resA <- count_kmers(c("AAAAA", "ASASSSSASSA"), k=5, batch_size=batch_size)
resB <- count_multimers(c("HWHSHS", "AASDCASD"), k_vector=c(3, 5), batch_size=batch_size)
# rbind
res <- rbind_columnwise(resA, resB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.