Overview: Ensure the input files are in CSV or TSV format with features as rows and samples as columns. The group file must contain sample IDs and binary group labels (case/control). The case group must be encoded as `1` and the control group as `0`. The output directory will be created if it does not exist.
Overview: Install DMwR2 from GitHub using `remotes::install_github("cran/DMwR2")` before running the script, as it is not available on CRAN. Ensure the input file has features in rows and samples in columns, with missing values encoded as empty cells or `NA`. The group file must contain a sample ID column and a single grouping column used for stratification.
Overview: Ensure `Rscript` is available in the shell and install required R packages (`optparse`, `data.table`, `survival`, `survminer`, `ggplot2`) if missing. The input file must contain time, status, and group columns with specific formatting requirements.
Overview: Ensure the input files are in CSV or TSV format, with the first column containing gene identifiers and numeric values. The sample group file must contain two comparison groups and use supported column names such as `sample` or `group`. The gene-set file must be in long format with a `pathway` and `gene` column.
Overview: Ensure the expression matrix contains unique feature IDs in the first column and numeric sample columns. The sample annotation file must include matching sample IDs and at least one metadata column. Select a label column with non-empty values for dendrogram leaf labels.
Overview: Ensure the input file has numeric values with no missing data and the first column contains gene identifiers. The group file must include a sample column and a group column with matching sample names. Run `--mode analyze` or `--mode full` first if `GSVA_list.rda` is missing in the output directory.
Overview: Ensure the input CSV file contains at least a gene column (default name `name`) and a ranking-statistic column (default name `logFC`). If using `HALLMARKS` as the gene-set type, a preloaded RDS file with the asset key `Hallmarks` must be available.
Overview: Ensure the gene ID type matches `--gene_type` and that the species database (`--sp`) is one of `org.Hs.eg.db`, `org.Mm.eg.db`, or `org.Rn.eg.db`. The first deliverable is the parsed gene count after trimming and parsing, which is reported in the output.
Overview: The input matrix must have the first column as feature identifiers and remaining columns as finite numeric sample values. Missing or non-finite values (e.g., NA, NaN, Inf) are not accepted and will cause errors.
Overview: Ensure the input files are correctly formatted: the expression matrix must have genes as rows and samples as columns, with the first column containing gene identifiers. The clinical file must include `OS` (encoded as 0/1) and `OS.time` (positive values compatible with the specified `--time_unit`). The model file must contain `Gene` and `Coef` columns. Additionally, ensure that the cohort has sufficient survival events (at least 5) for reliable Kaplan-Meier and ROC results.
Overview: The input file must be a CSV or TSV with genes in the first column and samples in the remaining columns. Expression values must be numeric and non-missing. Sample column names must be unique. A group file is optional but required for boxplots and significance tables.
Overview: Ensure the input file exists and matches the group file's sample names. Install required R packages if encountering `SKILL_DEPENDENCY_MISSING`.