plot_congenital_annotations: Plot congenital annotations

View source: R/plot_congenital_annotations.R

plot_congenital_annotationsR Documentation

Plot congenital annotations

Description

Test whether there is a difference in proportion if significantly associated fetal and non-fetal cell types across phenotypes with congenital onset vs. those without.

Usage

plot_congenital_annotations(
  results,
  gpt_annot = HPOExplorer::gpt_annot_codify(),
  fetal_keywords = c("fetal", "fetus", "primordial", "hESC", "embryonic"),
  celltype_col = "author_celltype",
  remove_annotations = c("varies"),
  save_path = NULL
)

Arguments

results

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

gpt_annot

A data.table of GPT annotations.

fetal_keywords

A character vector of keywords to identify fetal cell types.

celltype_col

The column name of the cell type.

remove_annotations

A character vector of annotations to remove.

save_path

The path to save the plot.

Examples

results <- load_example_results()
results2 <- add_ctd(results=results)

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