GObubbleplot: GObubbleplot

Description Usage Arguments Value

View source: R/GObubbleplot.R

Description

Produces a Bubble Plot for the genes of a given GO term.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
GObubbleplot(
  object,
  go_term,
  group_by = "ident",
  filter = NULL,
  filter_exp_pct = NULL,
  filter_exp_pct_thresh = 0,
  filter_exp_level = 0,
  x_lab_size = 9,
  y_lab_size = 9,
  x_lab_rot_angle = 45,
  cluster_x = TRUE,
  cluster_y = TRUE,
  colors_use = NULL,
  do_return = FALSE,
  ...
)

Arguments

object

Seurat object

go_term

Gene Ontology term identifier (i.e. GO:0046774)

group_by

Factor by which to group cells. (default: ident)

filter

A list of gene names to filter the GO term members against. (default: all genes in object)

filter_exp_pct

Display only genes that are expressed above this fraction of cells in at least one group. (default: NULL)

filter_exp_pct_thresh

Threshold for expression fraction. (default: 0)

filter_exp_level

Display only genes that are expressed above this level in at least one group. (default: 0)

x_lab_size

x-axis label font size. Default: 9

y_lab_size

y-axis label font size. Default: 9

x_lab_rot_angle

x-axis label rotation. Default: 45

cluster_x

Should x-axis variables be clustered? Default: TRUE

cluster_y

Should x-axis variables be clustered? Default: TRUE

colors_use

Colors to use for coloring gene expression

do_return

If TRUE, return a ggplot2 object instead of displaying chart

...

Additional options to pass to bubbleplot

Value

if isTRUE(do_return), a ggplot2 object


milescsmith/bubbleplot documentation built on Jan. 22, 2022, 3:10 p.m.