Skip to content

Commit

Permalink
Update plot_function.R
Browse files Browse the repository at this point in the history
Fixing xlim warning in ideogram plot function
  • Loading branch information
isidroc authored Jan 8, 2022
1 parent e5993b3 commit a87f515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_function.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ plot_chromothripsis <- function(ShatterSeek_output, chr=chr,BAF=NULL,sample_name
ideogram = ideogram + annotate(geom = "text",x = (chr_info_annot$start+chr_info_annot$end)/2,y=chr_info_annot$y + 1.2,
label=chr_info_annot$name,vjust=.5, angle=90,size=2)
#ideogram = ideogram +theme_bw() + common_ggplot2_chrom + #xlim(min_coord,max_coord) +
ideogram = ideogram +theme_bw() + common_ggplot2_chrom + xlim(min_coord,max_coord) +
ideogram = ideogram +theme_bw() + common_ggplot2_chrom + #xlim(min_coord,max_coord) +
scale_x_continuous(expand = c(0.01,0.01)) +
coord_cartesian(xlim=c(min_coord, max_coord))

Expand Down

0 comments on commit a87f515

Please sign in to comment.