write_delim: Write a se to delim format

View source: R/io.R

write_delimR Documentation

Write a se to delim format

Description

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

Usage

write_delim(se, path, delim = " ", assay_name = NULL)

Arguments

se

SummarizedExperiment to round

path

Path or connection to write to

delim

Delimiter used to separate values

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 delim file, defaulting to " " as delimiter
data(seq_se)
seq_se %>% round(3) %>% write_delim("out.txt", assay_name = "expression")

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