aggregateCounts {GeomxTools} | R Documentation

## Aggregate probe counts to target level for feature data

### Description

Aggregate probe counts to target level for feature data

### Usage

    aggregateCounts(object, FUN = ngeoMean)

### Arguments

`object` | name of the NanoStringGeoMxSet object to aggregate
`FUN` | function to use for count aggregation

### Value

a NanoStringGeoMxSet object with targets as features

### Examples

    datadir <- system.file("extdata", "DSP_NGS_Example_Data",
                           package="GeomxTools")
    demoData <- readRDS(file.path(datadir, "/demoData.rds"))
    targetGeoMxSet <- aggregateCounts(demoData)

[Package GeomxTools version 2.0.0 Index]