getMeanNormalizedCountsSE: Make mean treatment summarized experiment:

View source: R/deltaCaptureC.R

getMeanNormalizedCountsSER Documentation

Make mean treatment summarized experiment:

Description

Get the mean normalized counts for each treatment

Usage

getMeanNormalizedCountsSE(countsSE, byTreatment = "treatment")

Arguments

countsSE

A SummarizedExperiment containing an assay 'counts' and optionally an assay 'normalizedCounts'

byTreatment

= 'treatment' This gives the column of colData to use for taking averages

Details

This function takes a SummarizedExperiment. It looks for an assay called normalizedCounts. If this assay is missing, it creates it by normalizing using the size factors. By default, it takes the mean for each value of colData$treatment

Value

A SummarizedExperiment giving mean normalized counts for each value of byTreatment

Examples

meanNormalizedCountSE = getMeanNormalizedCountsSE(miniSE)

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.