Skip to contents

IHC Expression Analysis

Usage

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

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$todoa html
results$hscoreTablea table
results$clusterSummarya table
results$clusterPlotan image
results$heatmapPlotan image
results$scoreDistan image

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

results$hscoreTable$asDF

as.data.frame(results$hscoreTable)