save_counts: Save the counts of a DESeq2 object.

View source: R/deseq2_utils.R

save_countsR Documentation

Save the counts of a DESeq2 object.

Description

Save the counts of a DESeq2 object.

Usage

save_counts(deseq_dataset, name, out_dir, tidy = TRUE, ...)

Arguments

deseq_dataset

A dds

name

A name for the output file

out_dir

Path to the output directory

tidy

Logical, whethere to reshape the data into a long (TRUE) or keep it as wide ('FALSE') format.

...

extra arguments passed to dds2counts() function, like counts_are_genes = T|F or norm_counts = T|F

Value

Nothing, this function writes a file

Examples

save_counts(dds, name = "Your_comparison_long", out_dir = "/path/to/dir")

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