This constructs a meta cell cover object and puts it into scdb. It gets an MC assignment (cell->MC_ID), and a matrix, and call standard api of this class to compute the footprints.

mcell_new_mc2d(mc2d_id, mc_id, mc_x, mc_y, sc_x, sc_y, graph)

Arguments

mc2d_id

new id of 2d object to add

mc_id

id of scdb meta cell object we link to

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

graph data frame (fields mc1,mc2 specifying edges between mc's)