Plot mc+cell graph using pre-defined mc colorization

mcell_mc2d_plot(
  mc2d_id,
  legend_pos = "topleft",
  plot_edges = T,
  min_edge_l = 0,
  edge_w = 1,
  short_edge_w = 0,
  show_mcid = T,
  cell_outline = F,
  colors = NULL,
  fig_fn = NULL,
  fn_suf = "",
  sc_cex = 1,
  filt_mc = NULL
)

Arguments

mc2d_id

mc2d object to plot

legend_pos

position of legend

plot_edges

plot edges between metacells (true by default)

min_edge_l

(defulat 0) length of edges that are consider long

edge_w

width of long edges

short_edge_w

with of short edges

show_mcid

should metacell id be plotted

cell_outline

should single cell be drawn with outline

colors

can provide color vector to overide the default mc@colors

fig_fn

override the default file name in the scfig directory

sc_cex

size of single cell points

filt_mc

optionally a factor defining which MCs to plot