Description Usage Arguments Value Examples
View source: R/imcExperiment.R
Initializes a imcExperiment and performs some rudimentary checks. Many of the arguments CAN be NULL; determination of which is required is done at run-time. A imcExperiment must contain at least the expressions and spatial/coordinate assays.
1 2 3 4 5 6 7 8 9 10 11 12  | imcExperiment(
  coordinates = matrix(1, 3, 3),
  cellIntensity = matrix(1, 3, 3),
  neighborHood = matrix(1, 3, 3),
  network = data.frame(matrix(1, 3, 3)),
  distance = matrix(1, 3, 3),
  morphology = matrix(1, 3, 3),
  uniqueLabel = rep("A", 3),
  panel = as.character(seq_len(3)),
  ROIID = data.frame(ROIID = rep("A", 3)),
  ...
)
 | 
coordinates | 
 matrix of spatial coordinates (x,y)  | 
cellIntensity | 
 matrix of counts  | 
neighborHood | 
 neighborhood results  | 
network | 
 network assignments for each cell  | 
distance | 
 distances for each cell, can be square  | 
morphology | 
 morphology features for each cell, can be square  | 
uniqueLabel | 
 character class each cell is assigned a uniqueLabel  | 
panel | 
 antibody panel rownames set to rowData  | 
ROIID | 
 character for ROI  | 
... | 
 additional arguments  | 
imcExperiment container
1 2 3 4 5 6 7 8 9  | x<-imcExperiment(cellIntensity=matrix(1,nrow=10,ncol=10),
coordinates=matrix(1,nrow=10,ncol=2),
neighborHood=matrix(1,nrow=10,ncol=10),
network=data.frame(matrix(1,nrow=10,ncol=10)),
distance=matrix(1,nrow=10,ncol=10),
morphology=matrix(1,nrow=10,ncol=10),
uniqueLabel=paste0("A",seq_len(10)),
panel=letters[1:10],
ROIID=data.frame(ROIID=rep("A",10)))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.