selectCases: subsets the imcExperiment to a case along with all slots for...

Description Usage Arguments Value Examples

Description

subsets the imcExperiment to a case along with all slots for a selected multiple ROIs.

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

Usage

1
2
3
4
selectCases(object, value, ...)

## S4 method for signature 'imcExperiment'
selectCases(object, value)

Arguments

object

IMC container

value

this is ROIID vector

...

additional parameters

Value

imcExperiment container of selected cases

imcExperiment container of selected cases

Examples

1
2
3
4
5
6
7
8
data(imcdata)
myCases<-selectCases(imcdata,c("30-BM16-202_7Pre_s1_p1_r4_a4_ac","B17_350_14post_s1_p1_r5_a5_ac"))
myCases
table(colData(myCases)$ROIID)
data(imcdata)
myCases<-selectCases(imcdata,c("30-BM16-202_7Pre_s1_p1_r4_a4_ac","B17_350_14post_s1_p1_r5_a5_ac"))
myCases
table(colData(myCases)$ROIID)

imcExperiment documentation built on Aug. 19, 2021, 5:07 p.m.