slash-.SummarizedExperiment: Divide two SummarizedExperiments

/.SummarizedExperimentR Documentation

Divide two SummarizedExperiments

Description

Divides 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 values will be divided by se2 values. Need to have the same rowData and colData

Value

A SummarizedExperiment after the division operation

Examples

#create subset se's for time == 0 and time == 4. Then subtract 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.