tx_split_DT: Split data.table to list of data.tables

View source: R/tx_core.R

tx_split_DTR Documentation

Split data.table to list of data.tables

Description

Split data.table back to list with individual data.tables by 'gene' names

Usage

tx_split_DT(DT, dropEmpty = TRUE)

Arguments

DT

data.table. A table as output by the tx_makeDT_coverage(), tx_makeDT_nucFreq() or tx_makeDT_covNucFreq() functions.

dropEmpty

logical. Drops empty list elements, which occurs when data of genes have been entirely removed, but kept listed in the x$gene factor levels.

Value

list


AngelCampos/tx_tools documentation built on Sept. 17, 2024, 1:27 a.m.