compute_h_score: Compute H-Score for a single marker aggregated by '.by'

Description Usage Arguments Value See Also

View source: R/positivity.R

Description

Parameters are directly provided.

Usage

1
compute_h_score(csd, measure, tissue_categories, thresholds, .by = "Slide ID")

Arguments

csd

Cell seg data to use.

measure

The cell seg data column to measure (as a character string)

tissue_categories

A character vector of tissue category names of interest.

thresholds

Optional three element vector with the threshold values.

.by

Column to aggregate by

Value

A data frame with one row per Slide ID, showing cell counts and percents in each bin and the H-Score. The data frame has attributes measure and thresholds.

See Also

Other aggregation functions: compute_density_from_cell_summary(), compute_density_from_table(), compute_h_score_from_score_data(), compute_mean_expression_many(), compute_mean_expression(), compute_positivity_many(), compute_positivity(), count_phenotypes(), counts_to_percents()


akoyabio/phenoptrReports documentation built on Jan. 17, 2022, 6:22 p.m.