Learn R Programming

imcExperiment (version 0.99.0)

subsetCase: subsets the imcExperiment to a case along with all slots for a single ROI, using for distance analysis

Description

subsets the imcExperiment to a case along with all slots for a single ROI, using for distance analysis

method to subset the slots, requires colData with column "ROIID"

Usage

subsetCase(object, value, ...)

# S4 method for imcExperiment subsetCase(object, value)

Arguments

object

IMC container

value

this is ROIID a single character ID

...

additional parameters

Value

returns IMC object of a single case

roi imcExperiment

Examples

Run this code
# NOT RUN {
data(imcdata)
myCase<-subsetCase(imcdata,"30-BM16-202_7Pre_s1_p1_r4_a4_ac")
myCase
data(imcdata)
myCase<-subsetCase(imcdata,"30-BM16-202_7Pre_s1_p1_r4_a4_ac")
myCase
# }

Run the code above in your browser using DataLab