Compute cells 2d coordinates based on the mc graph when the mc coordinates are supplied externally

mcell_mc2d_force_knn_on_cells(
  mc2d_id,
  mc_id,
  graph_id,
  mc_xy,
  ignore_mismatch = F
)

Arguments

mc2d_id

2d object to add

mc_id

meta cell id to work with

graph_id

graph_id of the similarity graph on cells from the metacell

mc_xy

pre-defined metacells coordinates (so only coordinates of cells will be computed). Data frame with 2 columns named mc_x and mc_y (x and y coodinates, respectively).

ignore_mismatch