Create mock GRanges data for splicing event testing
Arguments
- n_genes
Number of genes to simulate
- n_tx_per_gene
Number of transcripts per gene. Use 2 or more: the first transcript of each gene is given a negative estimate and the second a positive one, so a single transcript per gene leaves the set all-negative and the
generate_*()helpers with nothing to modify.- n_exons_per_tx
Number of exons per transcript
- coef_range
Range of coefficient values to sample from
- strand
Strand to place every transcript on:
"+"(default),"-", or"*". On"-"the exon ranks are reversed, so exon_rank 1 is the rightmost exon in genomic coordinates.