Visualize transcripts
visualize_transcripts.Rd
visualize transcripts of a gene and color by density estimates
Usage
visualize_transcripts(
gene = NULL,
transcripts,
n_bins = 100,
output_dir = ".",
save_plot = TRUE,
transcript_size = 0.1
)
Arguments
- gene
gene name
- transcripts
dataframe with the following required columns x_location, y_location and feature_name
- n_bins
number of bins to use for KDE2D (default = 100)
- output_dir
output directory for saving (default = ".")
- save_plot
whether to save the plot (default = TRUE)
- transcript_size
Size of transcript (dot) on plot (default = 0.1)