plot_GO_match_score: Plot (normalized) GO match score

Description Usage Arguments Value

View source: R/GO_match_top_cor_genes.R

Description

Plot (normalized) GO match score

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
plot_GO_match_score(
  GO_summary,
  score.name = "GO_jaccard_Mean",
  error_bars = c("extr", "quartiles", "sd")[1],
  do.normalize = TRUE,
  to.save.plot = TRUE,
  to.save.plot.raw = FALSE,
  asp = 0.5,
  fig.folder = "./plots",
  fig.name = "",
  ignore.gammas = c(),
  ignore.methods = c(),
  .shapes = c(Exact = 1, Approx = 0, Subsampling = 2, Random = 3, Metacell_default_fp =
    4, Metacell_default_av = 8, Metacell_SC_like_fp = 4, Metacell_SC_like_av = 8),
  .colors = c(Exact = "darkred", Approx = "royalblue", Subsampling = "black", Random =
    "gray", Metacell_default_fp = "forestgreen", Metacell_default_av = "forestgreen",
    Metacell_SC_like_fp = "gold", Metacell_SC_like_av = "gold"),
  verbose = FALSE,
  p.size = 0.35,
  ...
)

Arguments

GO_summary

a field of the output of GO_match_summary

score.name

name of the score (one of the colnames of GO_summary)

error_bars

error bar types fo multiple testing simplifications (i.e., Approx, Subsampling, Random grouping)

do.normalize

whether to normalize GO match scores with a single-cell GO match score

Value

plots GO match score and returns dataset used for plotting


mariiabilous/SuperCellBM documentation built on Jan. 28, 2022, 7:45 p.m.