Learn R Programming

imcExperiment (version 0.99.0)

getNeighborhood: finds the neighborhood information.

Description

finds the neighborhood information.

slow assignment for the histoCAT neighborhood data (matrix) columns are the neighbors

Usage

getNeighborhood(object, ...)

# S4 method for imcExperiment getNeighborhood(object)

getNeighborhood(object) <- value

# S4 method for imcExperiment,matrix getNeighborhood(object) <- value

Arguments

object

is IMC container

...

additional arguments

value

matrix rows cells, columns are neighborhood histoCAT output

Value

imcExperiment container

imcExperiment container data(imcdata) getNeighborhood(imcdata)

imcExperiment container

imcExperiment container

Examples

Run this code
# NOT RUN {
data(imcdata)
getNeighborhood(imcdata)
data(imcdata)
x<-matrix(1,nrow=ncol(imcdata),ncol=2)
getNeighborhood(imcdata)<-x
data(imcdata)
x<-matrix(1,nrow=ncol(imcdata),ncol=2)
getNeighborhood(imcdata)<-x
# }

Run the code above in your browser using DataLab