Skip to contents

IHC Expression Analysis

Usage

ihcstats(
  data,
  markers,
  computeHScore = FALSE,
  clusterMethod = "hierarchical",
  distanceMetric = "gower",
  nClusters = 3,
  showDendrogram = FALSE,
  showHeatmap = FALSE,
  showScoreDist = FALSE,
  pcaAnalysis = FALSE,
  standardizeData = TRUE,
  showPCAPlot = FALSE,
  showClusterValidation = FALSE,
  optimalKMethod = "elbow",
  iterativeClustering = FALSE,
  linkageMethod = "average",
  showDiagnostics = FALSE,
  groupVariable = NULL,
  scoringScale = "standard",
  tumorRegionAnalysis = FALSE,
  centralRegionVar = NULL,
  invasiveRegionVar = NULL,
  prognosticClustering = FALSE,
  survivalTimeVar = NULL,
  survivalEventVar = NULL,
  differentialDiagnosis = FALSE,
  tumorTypeVar = NULL,
  antibodyOptimization = FALSE,
  calculateDiagnosticMetrics = FALSE,
  olsenVisualization = FALSE,
  clusterCutHeight = 0.5,
  sterlacciAnalysis = FALSE,
  supervisedClustering = FALSE,
  reproductibilityTesting = FALSE,
  immuneSignatureFocus = FALSE,
  tilAnalysisMode = "combined_til",
  multipleTesting = "bonferroni",
  significanceThreshold = 5.5e-05
)

Arguments

data

The data as a data frame.

markers

IHC marker variables with categorical expression scores

computeHScore

.

clusterMethod

.

distanceMetric

.

nClusters

.

showDendrogram

.

showHeatmap

.

showScoreDist

.

pcaAnalysis

.

standardizeData

.

showPCAPlot

.

showClusterValidation

.

optimalKMethod

.

iterativeClustering

.

linkageMethod

.

showDiagnostics

.

groupVariable

.

scoringScale

.

tumorRegionAnalysis

.

centralRegionVar

.

invasiveRegionVar

.

prognosticClustering

.

survivalTimeVar

.

survivalEventVar

.

differentialDiagnosis

.

tumorTypeVar

.

antibodyOptimization

.

calculateDiagnosticMetrics

.

olsenVisualization

.

clusterCutHeight

.

sterlacciAnalysis

.

supervisedClustering

.

reproductibilityTesting

.

immuneSignatureFocus

.

tilAnalysisMode

.

multipleTesting

.

significanceThreshold

.

Value

A results object containing:

results$todoa html
results$hscoreTablea table
results$clusterSummarya table
results$pcaTablea table
results$silhouetteTablea table
results$diagnosticTablea table
results$optimalMarkersTablea table
results$regionalTablea table
results$prognosticTablea table
results$survivalTablea table
results$differentialTablea table
results$antibodyPerformanceTablea table
results$optimalPanelTablea table
results$sterlacciTablea table
results$reproductibilityTablea table
results$supervisedResultsTablea table
results$tilSignatureTablea table
results$dendrogramPlotan image
results$heatmapPlotan image
results$pcaPlotan image
results$validationPlotan 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)