Section 3.1.1 List 6: added BIDcell_segmask.tif image and in-situ plot for toyME in
Section 3.1.2: added more detailed description about the keepCols argument of the readXenium()
Section 6: changed the colours of virtual dissections (region 1 and region 2) to make them more visible. (segment_id and feature_id both used the same colours originally)
readSegMask.R
Used the original label value in the input image as the cell_id column in the geom_df instead of changing it to consecutive id.
Without the changes, this code snippet from the vignettes cannot successfully remove the background segment from the image since the segment_id was changed to a consecutive id from 1, 2, 3, ..., 89. So there was no segment_id with value 0.
Vignette
toyME
inkeepCols
argument of thereadXenium()
readSegMask.R
Used the original label value in the input image as the
cell_id
column in thegeom_df
instead of changing it to consecutive id.Without the changes, this code snippet from the vignettes cannot successfully remove the background segment from the image since the segment_id was changed to a consecutive id from 1, 2, 3, ..., 89. So there was no segment_id with value 0.
Potentail risks
BIDcell_segmask.tif
provided in the package.Demo plots
Here is a screenshot showing the BIDcell_segmentation boundaries and the input boundaries image before the changes.
And here is the same plot after the changes.