gen_all_res_list_rshiny.Rd
This function is used when parallel computing is not called to generate Rshiny progress bar.
gen_all_res_list_rshiny(
count_bulk,
meta_bulk = NULL,
ref_list,
enableFileSaving = FALSE,
outpath = NULL,
true_frac = NULL,
params = NULL,
parallel_comp = FALSE,
ncore
)
Bulk gene expression data.
The count_bulk parameter expects a two-dimensional numeric matrix in a gene-by-sample format.
It must be convertible using as.matrix
. Optionally, the data can be in its original scale.
Reference data list.
The ref_list is a list of lists, where each sublist contains ref_matrix
and meta_ref
.
The top-level list should be named with a vector of data_name
, indicating the bulk-reference pair.
The sublists should contain:
ref_matrixA matrix with rows as genes and columns as samples.
meta_refMetadata for reference data, including "SamplesName" (column names of ref_matrix) and "deconv_clust" (deconvolution clusters, e.g., cell types).
data_nameA description of the data, formatted as "bulk data name_reference data name".
Enable Saving of Intermediate Output (Optional) A boolean flag that controls the saving of intermediate outputs as separate files. When set to TRUE, intermediate outputs of the analysis will be saved to files. If not explicitly set, this parameter defaults to FALSE, meaning that intermediate outputs will not be saved by default.
True cell type proportions. (Optional) A two-dimensional numeric matrix indicating the true cell type proportions in the samples. The matrix should be formatted with samples as rows and cell types as columns.
Ensemble learning parameters.
(Optional) A dataframe specifying parameters for ensemble learning.
For more details, refer to the get_params
function.
Use parallel computing. (Optional) A logical flag indicating whether to perform computations in parallel. Defaults to FALSE.
Number of cores for parallel execution.
(Optional) Sets the number of cores for parallel processing when parallel_comp
is TRUE.
Default is 5. Only effective if parallel computing is enabled.
Destination for Saved Output Files
(Optional) Specifies the ile path where output files should be saved, applicable
only if enableFileSaving
is set to TRUE. Providing this path directs the function
to save all intermediate output files to the specified location.
If enableFileSaving
is FALSE or not set, the value of "outputPath" is ignored.
This parameter should be a valid file system path.