subset_results: Subset EWCE results

View source: R/subset_results.R

subset_resultsR Documentation

Subset EWCE results

Description

Subset RD EWCE results data by cell type, fold change and q value.

Usage

subset_results(
  filters = list(cl_name = NULL),
  results = load_example_results(),
  q_threshold = 5e-04,
  effect_threshold = 1,
  verbose = TRUE
)

Arguments

filters

A named list, where each element in the list is the name of a column in the data, and the vector within each element represents the values to include in the final data.

results

The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results

q_threshold

The q value threshold to subset the results by.

effect_threshold

The minimum fold change in specific expression to subset the results by.

verbose

Print messages.

Value

A data frame of the selected subset of RD EWCE results with HPO ID column added.

Examples

signif_cell_data <- subset_results(filters=list(CellType = "Cardiomyocytes"))

neurogenomics/MultiEWCE documentation built on April 22, 2024, 6:22 a.m.