Prepare test data for random forest
Usage
prep_test(input, subject_ids, dtype = "scRNA", test_id)
Arguments
- input
Seurat object
- subject_ids
Metadata field that identifies unique subjects.
- dtype
Type of data in the Seurat object "scRNA" or "CyTOF", default
is "scRNA". CyTOF data is expected to be arcsinh normalized.
- test_id
subject_id for the test sample
Value
Training data formatted for sil_score, format depends on dtype