Plot transcript models
Usage
trackplot_gene(
transcripts,
region,
exon_size = 3,
gene_size = 1,
label_size = 3,
return_data = FALSE
)
Arguments
- transcripts
GRanges, list, or data.frame of transcript features to plot. Required attributes are:
chr
,start
,end
: genomic positionstrand
: "+"/"-" or TRUE/FALSE for positive or negative strandfeature
(only entries marked as"transcript"
or"exon"
will be considered)transcript_id
gene_name
See genomic-ranges for more details
- region
GRanges of length 1 with region to plot, or list/data.frame with one entry each for chr, start, end. See
gene_region()
or genomic-ranges for details- exon_size
size for exon lines
- label_size
size for transcript labels
- return_data
If true, return data from just before plotting rather than a plot.
- labels
Character vector with labels for each item in transcripts. NA for items that should not be labeled
- transcript_size
size for transcript lines