This function is to prepare a random matrix to be used in parallel computation, so that the same random matrix will be applied to different partitions/groups of datasets in the same application of random projection. The difference between ranM and ranM2 is that the former requires the input expression matrix, whereas the latter only requires the number of genes.
1 | ranM2(m, p, seedn)
|
m |
number of genes for the input scRNA-seq matrix |
p |
the dimension to be reduced to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.