plus-.SummarizedExperiment: Add two SummarizedExperiments

+.SummarizedExperimentR Documentation

Add two SummarizedExperiments

Description

Adds the values from each of the underlying assay values for 2 se's.

Usage

## S3 method for class 'SummarizedExperiment'
se1 + se2

Arguments

se1, se2

SummarizedExperiments for which se1 and se2 values will be added Need to have the same rowData and colData

Value

A SummarizedExperiment after the add operation

Examples

#create subset se's for time == 0 and time == 4. Then add their values.
#remove time to make colData the same
data(seq_se)
t0 <- seq_se %>% filter(col, time == 0) %>% select(col, -time)
t4 <- seq_se %>% filter(col, time == 4) %>% select(col, -time)
t4 + t0

martijnvanattekum/cleanse documentation built on Nov. 20, 2023, 8:28 p.m.