dds2counts: Convert a DESeq2 dds object into a tibble

View source: R/deseq2_utils.R

dds2countsR Documentation

Convert a DESeq2 dds object into a tibble

Description

Convert a DESeq2 dds object into a tibble

Usage

dds2counts(deseq_dataset, tidy = T, counts_are_genes = T, norm_counts = T)

Arguments

deseq_dataset

A DESeq2 object.

tidy

Logical, whether or not to pivot the data into a long format

counts_are_genes

Logical, by default this function assumes the counts are from gene expression experiments where the IDs are ensembl gene IDs.

Value

A tibble

Examples

tidy_counts <- dds2counts(dds)

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.