show_cpout_features: Display all features measured by CellProfiler.

View source: R/show_cpout_features.R

show_cpout_featuresR Documentation

Display all features measured by CellProfiler.

Description

Searchable datatable object of cell and image features as extracted by CellProfiler.

Usage

show_cpout_features(
  path,
  display = c("cell_features", "image_features"),
  cell_features = "var_cell.csv",
  image_features = "var_Image.csv"
)

Arguments

path

full path to the CellProfiler output folder

display

single character indicating which features to display. Accepted entries are cell_features to display extracted single-cell features or image_features to display extracted image-level features.

cell_features

single character indicating the name of the file storing the extracted cell features.

image_features

single character indicating the name of the file storing the extracted image features.

Value

a datatable object

Author(s)

Nils Eling (nils.eling@dqbm.uzh.ch)

See Also

read_cpout for the CellProfiler reader function

Examples

path <- system.file("extdata/mockData/cpout", package = "imcRtools")

# Display cell features 
show_cpout_features(path)

# Display image features 
show_cpout_features(path, display = "image_features")


BodenmillerGroup/imcRtools documentation built on Oct. 30, 2024, 12:19 p.m.