R/positivity.R
compute_h_score_from_score_data.Rd
Compute H-Score based on parameters in a score data file
compute_h_score_from_score_data(
csd,
score_path,
tissue_categories = NULL,
.by = "Slide ID",
phenotype = NULL
)
Cell seg data to use.
Path to to a score_data file (may be merged or not).
optionally specify tissue categories of interest. If not given, tissue categories are taken from the score file.
Column to aggregate by
Optional phenotype to subset csd
.
A data frame with one row per Slide ID, showing cell counts and percents in each bin and the H-Score. See compute_h_score.
Other aggregation functions:
compute_density_from_cell_summary()
,
compute_density_from_table()
,
compute_h_score()
,
compute_mean_expression_many()
,
compute_mean_expression()
,
compute_positivity_many()
,
compute_positivity()
,
count_phenotypes()
,
counts_to_percents()