Just filling up the slots, actuall computation is done by specific algorithms (mcell_mc2d_force)

# S4 method for tgMC2D
initialize(.Object, mc_id, mc_x, mc_y, sc_x, sc_y, graph)

Arguments

mc_x

x coordinates of metacells

mc_y

y coordinates of metacells

sc_x

x coordinates of cells

sc_y

y coordinates of cells

graph

data.frame with fields mc1, mc2 definining the graph

mc

metacell object