simulate_data: Simulate read data

Description Usage Arguments Value

View source: R/transcript_archetypes.R

Description

Take a GRanges-class of transcript annotations and a transcript_archetypes object and simulate read counts.

Usage

1
2
3
4
5
6
7
simulate_data(
  ta,
  annotations,
  library_depth = 3e+07,
  jitter = 0,
  show_progress = F
)

Arguments

ta

a transcript_archetypes-class object

annotations

a GRanges object with a score column indicating abundances

library_depth

library depth to simulate (approximate)

jitter

amount by which reads can be shifted to the left or right (default: 0)

show_progress

show progress bar

Value

A GRanges-class


CshlSiepelLab/nascentRNASim documentation built on Dec. 17, 2021, 3:08 p.m.