This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how the thickness of the line can be changed in the plotAvgProf ?

I'm dealing with a very basic problem that's plotting line size change. It's very easy in general plot function and ggplot. But in case of a function by ChIPseeker - 'plotAvgProf', I'm not able to figure how to give arguments as there's not default argument like 'size' in the function. I can change line color through scale_color_manual(), but failed to change line size.

plotavgprof chipseeker

1 answer

You can change the line width by calling update_geom_defaults("line", list=(size=10)) after the plotAvgProf

Thanks for your suggestion. It works really well.

update_geom_defaults("line", list(size=10))

Log in to answer this question.