ranM2: Prepare a random matrix

Description Usage Arguments

View source: R/ranM2.R

Description

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.

Usage

1
ranM2(m, p, seedn)

Arguments

m

number of genes for the input scRNA-seq matrix

p

the dimension to be reduced to


shibiaowan/SHARP documentation built on April 28, 2021, 1:56 p.m.