View source: R/evaluate_model_target_prediction.R
extract_ligands_from_settings | R Documentation |
extract_ligands_from_settings
Extract ligands of interest from (expression) settings in correct to construct the ligand-target matrix.
extract_ligands_from_settings(settings,combination = TRUE)
settings |
A list of lists for which each sub-list contains the information about (expression) datasets; with minimally the following elements: name of the setting ($name), ligands (possibly) active in the setting of interest ($from). |
combination |
Indicate whether in case multiple ligands are possibly active ligand combinations should be extracted or only individual ligands. Default: TRUE. |
A list containing the ligands and ligands combinations for which a ligand-target matrix should be constructed. When for a particular dataset multiple ligands are possibly active (i.e. more than ligand in .$from slot of sublist of settings), then both the combination of these multiple ligands and each of these multiple ligands individually will be select for model construction.
## Not run:
ligands = extract_ligands_from_settings(expression_settings_validation)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.