Signature matrix creation with CIBERSORTx
build_model_cibersortx(
single_cell_object,
cell_type_annotations,
container = c("docker", "apptainer"),
container_path = NULL,
verbose = FALSE,
input_dir = NULL,
output_dir = NULL,
display_heatmap = FALSE,
k_max = 999,
...
)
A matrix with the single-cell data. Rows are genes, columns are samples. Row and column names need to be set.
A vector of the cell type annotations. Has to be in the same order as the samples in single_cell_object.
The container used ot run the method. The possibilities are 'docker' (default) or 'apptainer'. You can check if the container can be called with the check_container() function
the path where the apptainer .sif file is/will be stored (optional)
Whether to produce an output on the console.
The directory in which the input files can be found (or are created in). Default is a temporary directory.
The directory in which the output files are saved. Default is a temporary directory.
Whether to display the generated heatmap.
Maximum condition number (default: 999). Will be added to the file name.
Additional parameters supplied to the algorithm. Options are:
g_min
g_max
q_value
filter
remake
replicates
sampling
fraction
The signature matrix. Rows are genes, columns are cell types.