ihcstats: IHC Expression Analysis

View source: R/ihcstats.h.R

ihcstatsR Documentation

IHC Expression Analysis

Description

IHC Expression Analysis

Usage

ihcstats(
  data,
  markers,
  computeHScore = FALSE,
  clusterMethod = "hierarchical",
  distanceMetric = "gower",
  nClusters = 3,
  showDendrogram = FALSE,
  showHeatmap = FALSE,
  showScoreDist = FALSE
)

Arguments

data

The data as a data frame.

markers

IHC marker variables with categorical expression scores

computeHScore

.

clusterMethod

.

distanceMetric

.

nClusters

.

showDendrogram

.

showHeatmap

.

showScoreDist

.

Value

A results object containing:

results$todo a html
results$hscoreTable a table
results$clusterSummary a table
results$clusterPlot an image
results$heatmapPlot an image
results$scoreDist an image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$hscoreTable$asDF

as.data.frame(results$hscoreTable)


sbalci/ClinicoPathJamoviModule documentation built on Feb. 25, 2025, 6:34 a.m.