check.parameters {inferCSN} | R Documentation |
Check input parameters
Description
Check input parameters
Usage
check.parameters(
matrix,
penalty,
algorithm,
cross_validation,
seed,
n_folds,
percent_samples,
r_threshold,
regulators,
targets,
regulators_num,
verbose,
cores,
...
)
Arguments
matrix |
An expression matrix, cells by genes |
penalty |
The type of regularization.
This can take either one of the following choices: |
algorithm |
The type of algorithm used to minimize the objective function.
Currently |
cross_validation |
Check whether cross validation is used. |
seed |
The seed used in randomly shuffling the data for cross-validation. |
n_folds |
The number of folds for cross-validation. |
percent_samples |
The percent of all samples used for |
r_threshold |
Threshold of |
regulators |
A character vector with the regulators to consider for CSN inference. |
targets |
A character vector with the targets to consider for CSN inference. |
regulators_num |
The number of non-zore coefficients, this value will affect the final performance. The maximum support size at which to terminate the regularization path. Recommend setting this to a small fraction of min(n,p) (e.g. 0.05 * min(n,p)) as L0 regularization typically selects a small portion of non-zeros. |
verbose |
Print detailed information. |
cores |
Number of CPU cores used. Setting to parallelize the computation with |
... |
Parameters for other methods. |
Value
Not return value, called for check input parameters