write_tsv: Write a se to tsv format

View source: R/io.R

write_tsvR Documentation

Write a se to tsv format

Description

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

Usage

write_tsv(se, path, assay_name = NULL)

Arguments

se

SummarizedExperiment to round

path

Path or connection to write to

assay_name

Name of the assay contained in se to write. Not required when only 1 assay is contained in the se

Value

The path to where the SummarizedExperiment was written

Examples

# write the example se to tsv
data(seq_se)
seq_se %>% round(3) %>% write_tsv("out.tsv", "expression")

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