plotNhoodSimGroups: sim_values in order of milo nhoods TODO: Make into separate...

View source: R/plot_nhoods.R View source: R/plot.R

plotNhoodSimGroupsR Documentation

sim_values in order of milo nhoods TODO: Make into separate functions so can pass plot specific params using ...

Description

sim_values in order of milo nhoods TODO: Make into separate functions so can pass plot specific params using ...

sim_values needs to be in order of milo nhoods TODO: Split into smaller functions

Usage

plotNhoodSimGroups(
  milo,
  sim_values,
  group_by = "celltype",
  facet_by = NULL,
  type = "ridge",
  orientation = "vertical",
  colour_by = NULL,
  size = 0.2,
  subset = NULL,
  decreasing = FALSE,
  rel_min_height = 0,
  show_rank = FALSE,
  rank_size = 2,
  group_colours = scrabbitr::getCelltypeColours(),
  xlabel = "Cell type",
  ylabel = "Correlation"
)

plotNhoodSimGroups(
  milo,
  sim_values,
  group_by = "celltype",
  facet_by = NULL,
  type = "ridge",
  orientation = "vertical",
  colour_by = NULL,
  size = 0.2,
  subset = NULL,
  decreasing = FALSE,
  rel_min_height = 0,
  show_rank = FALSE,
  rank_size = 2,
  group_colours = scrabbitr::getCelltypeColours(),
  xlabel = "Cell type",
  ylabel = "Correlation"
)

dkeitley/scrabbitr documentation built on Feb. 13, 2023, 4:26 p.m.