The inner loop of corgi
run_par_fs(X, Y, run_time, fs, genes_use = NULL, must_have_genes = c(), n_genes_sample = NULL, n_cells_X_sample = NULL, n_cells_Y_sample = NULL, n_cores_use = NULL)
X | gene-by-cell expression matrix for batch 1 |
---|---|
Y | gene-by-cell expression matrix for batch 2 |
run_time | how long to run for |
fs | a list of scoring functions f(X[F, ], Y[F, ]) -> real number |
must_have_genes | the set of marker genes that is used in every sampled gene set |
n_genes_sample | what size gene set to use |
n_cells_X_sample | how many cells to sample from X |
n_cells_Y_sample | how many cells to sample from Y |
fs_var | global variables, to save time |
gene_use | the set of genes used for sampling |
a list of scores