sim_boot_data: Generate an artificial dataset of bootstrapped abundance...

View source: R/data_simulators.R

sim_boot_dataR Documentation

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

Description

Try to cover a range of normal and outlier scenarios that might trip up the filters.

Usage

sim_boot_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. Don;t include annotation inconsistencies.

Value

A list with 3 elements. First a data.frame with the corresponding annotation. Then, 2 lists of data.tables. One list per condition, each data.table represents a sample and contains the estimates from the bootstrap iterations.


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