objects - veeninglab/BactMAP GitHub Wiki

Object DataFrames

A dataframe containing object information, either objectframe or object_relative.

Usage

These dataframes can be used in various of the BactMAP functions: plotTracks, plotObjects, plotOverlay & plotRaw.

Format

In the case of objectframe, the most basic of the two, the object coordinates and cell information are given:

Variable Description
ob_x the x-coordinate (in pixels) of the object shape outline
ob_y the y-coordinate (in pixels) of the object shape outline
obnum the number of the object inside one cell
obpath number indicates the order of the object coordinates, so a polygon will be drawn correctly
frame the number of the image frame
cell the number of the bacterial cell
obID unique object identifier

In the case of object_relative, the following colums are added:

Variable Description
max.length the cell length of the given cell the object is in.
num a rank for the cell size - the smaller num, the smaller the cell size
max.width the cell width of the given cell this object is in.
Dum the relative localization of the mid-point of the object on the width axis of the cell, in micron.
Lmid the relative localization of the mid-point of the object on the length axis of the cell, in micron.
ob_out_x the relative x-coordinate (in micron) of the object shape outline to the cell
ob_out_y the relative y-coordinate (in micron) of the object shape outline to the cell
pole1 the distance of one cell pole to mid-cell
pole2 the distance of the other cell pole to mid-cell. Since mid-cell is placed at [0,0], this is always the negative of pole1.
max_um max.length in micron
maxwum max.width in micron

Details & Examples

Find an example of an object dataframe including a detailed description here.