Prepare training data for random forest
Arguments
- input
Seurat object
- subject_ids
Metadata field that identifies unique samples.
- dtype
Type of data in the Seurat object "scRNA" or "CyTOF", default is "scRNA". CyTOF data is expected to be arcsinh normalized.
- within_batch
Batch variable, for a given sample only those with the same value for the batch variable will be used for training.
- test_id
subject_id for the test sample