round.SummarizedExperiment: Round the values of a SummarizedExperiments

View source: R/arithmetic.R

round.SummarizedExperimentR Documentation

Round the values of a SummarizedExperiments

Description

Rounds the values in all of the underlying assay matrices to the given number of digits

Usage

## S3 method for class 'SummarizedExperiment'
round(x, digits = 0)

Arguments

x

SummarizedExperiment to round

digits

integer indicating the number of decimal places

Value

A SummarizedExperiment after the round operation

Examples

# round the example se to 2 digits
data(seq_se)
seq_se %>% round(2)

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