sim_count_data: Generate an artificial dataset of abundance estimates, for...

View source: R/data_simulators.R

sim_count_dataR Documentation

Generate an artificial dataset of abundance estimates, for code-testing or examples.

Description

Generate an artificial dataset of abundance estimates, for code-testing or examples.

Usage

sim_count_data(
  PARENT_COL = "parent_id",
  TARGET_COL = "target_id",
  clean = TRUE
)

Arguments

PARENT_COL

Name for the bootdtraps column containing counts.

TARGET_COL

Name for annotation column containing transcript identification.

clean

Logical. Remove the intentional inconsistency of IDs between annotation and abundances.

Value

A list with 3 elements. First, a data.frame with the corresponding annotation table. Then, 2 data.tables, one per condition. Each data table contains the abundance estimates for all the samples for the respective condition.


bartongroup/RATS documentation built on June 8, 2022, 12:40 a.m.