find_go_terms: Find and plot top n GO-enriched terms per cluster

View source: R/cluster.R

find_go_termsR Documentation

Find and plot top n GO-enriched terms per cluster

Description

This function utilizes cluster-specific DEGs to identify cluster-specifc GO biological processes and plots these if they occur

Usage

find_go_terms(
  cluster_markers_obj,
  type,
  n_terms = 5,
  text_size,
  title_size,
  plot_directory
)

Arguments

cluster_markers_obj

list object with cluster marker information

type

character string that is 'all' if using malignant and normal clusters and 'malig' if just using malignant clusters

n_terms

integer of number of top DEGs to plot/use

text_size

integer of text size for ggplot

title_size

integer of title size for ggplot

plot_directory

output plot directory path

Value

A list object with cluster GO term information en_clone = data.table of cluster GO terms top_en_clone = data.table of just top cluster GO terms


dkzhang777/SlideCNA documentation built on Jan. 25, 2025, 5:53 p.m.