Performs deconvolution of the tumor microenvironment using the TIMER algorithm. Processes multiple cancer datasets, removes batch effects, and estimates immune cell type abundances.
Examples
if (FALSE) { # \dontrun{
# This example requires actual expression data files
# Create a batch file with paths to expression data and cancer types
batch_file <- "batch.csv"
# batch.csv format: each row contains expression_file_path,cancer_type
# Example content:
# /path/to/exp1.txt,luad
# /path/to/exp2.txt,brca
outdir <- tempdir()
args <- list(outdir = outdir, batch = batch_file)
results <- deconvolute_timer.default(args)
} # }