Process bulk RNA-seq data for prediction using an existing TorchDecon model.
Usage
ProcessPredictionData(data, genes, scaling = "log_min_max", verbose = TRUE)
Arguments
- data
Matrix or data frame of bulk expression data (genes x samples).
- genes
Character vector of genes to use (signature genes from training).
- scaling
Character. Scaling method matching training. Default is "log_min_max".
- verbose
Logical. Print progress. Default is TRUE.
Value
Processed matrix (samples x genes) ready for prediction.