supercell_plot_GE: Plot super-cell NW colored by an expression of a gene...

View source: R/supercell_plot_GE.R

supercell_plot_GER Documentation

Plot super-cell NW colored by an expression of a gene (gradient color)

Description

Plot super-cell NW colored by an expression of a gene (gradient color)

Usage

supercell_plot_GE(
  SC.nw,
  ge,
  color.use = c("gray", "blue"),
  n.color.gradient = 10,
  main = NA,
  legend.side = 4,
  gene.name = NULL,
  ...
)

Arguments

SC.nw

a super-cell network (a field supercell_network of the output of SCimplify)

ge

a gene expression vector (same length as number of super-cells)

color.use

colors of gradient

n.color.gradient

number of bins of the gradient, default is 10

main

plot title

legend.side

a side parameter of gradientLegend function (default is 4)

gene.name

name of gene of for which gene expression is plotted

...

rest of the parameters of supercell_plot function

Value

plot of a super-cell network with color representing an expression level


SuperCell documentation built on Oct. 25, 2024, 5:07 p.m.