convert_to_long: Converts to long data format

View source: R/dataManipulation.R

convert_to_longR Documentation

Converts to long data format

Description

Will convert a data object (either DESeq2 object or a matrix) to a data table for further work.

Usage

convert_to_long(
  object,
  coldata = "all",
  values_to = "NormalizedExpression",
  names_to = "sample"
)

Arguments

coldata

a factor or dataframe of factors used to add information to long data table, the string "all" can be used if the class of the input object is a DESeq2 dataset and all coldata information is to be copied to long data table

matrix

Input object with unique rownames


scfurl/seqGlue documentation built on Sept. 1, 2024, 11:20 a.m.