simulate_annotations: Simulate annotations

Description Usage Arguments Details Value

View source: R/transcript_archetypes.R

Description

Simulates per loci annotation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
simulate_annotations(
  ta,
  n,
  template,
  genome = NULL,
  tx_min_length = 3000,
  method = c("neighbor", "parametric"),
  min_loci_tx = 1,
  max_loci_tx = 40,
  seed = NULL
)

Arguments

ta

a transcript_archetypes-class object

n

the number of loci to simulate annotations for

template

can be a GRanges-class that provides template annotations as a basis for simulating loci with realistic properties.

genome

a genome name that will be used to retrieve chromosome lengths if they are not already specified

tx_min_length

do not simulate transcripts shorter than this length

method

method to use for simulating intra-loci transcript properties. The two methods are neighbors and empirical. More in information in details.

min_loci_tx

minimum number of transcripts per loci

max_loci_tx

maximum number of transcripts per loci

seed

random seed to use for simulation

Details

Stuff about methods

Value

A GRanges-class of transcript annotations


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