CAnBioNet / TkNA

9 stars 1 forks source link

Refactor subsample creation and implement nested subsampling #28

Closed macovskym closed 1 year ago

macovskym commented 1 year ago

Nested subsampling creates a subsample by sampling both the organisms in each treatment and the cells in each cell type in the selected organisms.

For aggregate data, the only available subsampling mode is over organisms. For single-cell data, the mode is specified in the following way:

bruceamm commented 1 year ago

Effectively adds option for "nested subsampling" in which user can choose to create subsamples from cell types and/or organisms, specifying desired percentage of cells and/or organisms to be selected for each sample. No errors/issues found in testing (AB, 8/31).