Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions R/makePlots.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ plotTranscriptStructure <- function(exons_df, limits = NA, connect_exons = TRUE,
xlabel = "Distance from gene start (bp)", transcript_label = TRUE){

#Extract the position for plotting transcript name
transcript_annot = dplyr::group_by_(exons_df, ~transcript_id) %>%
dplyr::filter_(~feature_type == "exon") %>%
dplyr::arrange_('transcript_id', 'start') %>%
transcript_annot = dplyr::group_by(exons_df, ~transcript_id) %>%
dplyr::filter(~feature_type == "exon") %>%
dplyr::arrange('transcript_id', 'start') %>%
dplyr::filter(row_number() == 1)

#Create a plot of transcript structure
Expand Down