aggregateCounts: Aggregate probe counts to target level for feature data

View source: R/NanoStringGeoMxSet-aggregate.R

aggregateCountsR 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[,1:10])


Nanostring-Biostats/GeomxTools documentation built on Sept. 24, 2024, 4:51 p.m.