mcell_mc2d_force_knn_on_cells: Compute cells 2d coordinates based on the mc graph when the...

View source: R/mc2d_force_knn.r

mcell_mc2d_force_knn_on_cellsR Documentation

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

Description

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

Usage

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

tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.