plotFeature: Plot a shape/size feature of nuclei objects.

Description Usage Arguments Value References Examples

View source: R/nucleiTool.R

Description

The following function plots the density distribution of one of four shape/size features of cell nuclei computed from getFeatureData(): area, perimeter, radius, or eccentricity.

Usage

1
plotFeature(featureDF, feature = c("area", "perimeter", "radius", "roundness"))

Arguments

featureDF

A data frame containing four columns of shape/size features for each nuclei objects in an Image.

feature

A character vector indicating which feature to plot, can be area, perimeter, radius, or roundness.

Value

A density plot of indicating the distribution of quantified shape/size feature of cell nulcei.

References

Gregoire Pau, Florian Fuchs, Oleg Sklyar, Michael Boutros, and Wolfgang Huber (2010): EBImage - an R package for image processing with applications to cellular phenotypes. Bioinformatics, 26(7), pp. 979-981, link https://bioconductor.org/packages/release/bioc/html/EBImage.html

Examples

1
2
3
4
5
6
7
8
# Example 1
rabbit = loadImage(system.file('extdata/Rabbit_01.tif', package='MyoManager'))
rNuc = selectFrame(rabbit, 3)
df = getFeatureData(rNuc)
plotFeature(df, "area")

# Example 2
plotFeature(df, "roundness")

karenkuang37/MyoManager documentation built on Dec. 21, 2021, 5:18 a.m.