set_row_data: Sets row data from an se

View source: R/accessors.R

set_row_dataR Documentation

Sets row data from an se

Description

As this does not require inplace operations, this can typically be used in a pipe

Usage

set_row_data(se, rowdata)

Arguments

se

SummarizedExperiment

rowdata

data frame or tibble containing the coldata

Value

A SummarizedExperiment with the new rowdata set

Examples

data(seq_se)
new_rd <- get_row_data(seq_se) %>% 
tidyr::unite(gene_group_name, c(gene_group, gene_name))
se_new_rowdata <- set_row_data(seq_se, new_rd)

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