mcell_new_mc2d: Generate a new metacell in scdb

View source: R/mc2d.r

mcell_new_mc2dR Documentation

Generate a new metacell in scdb

Description

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.

Usage

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)


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