how the thickness of the line can be changed in the plotAvgProf ?
1
0
Entering edit mode
16 months ago
Miao Zhang • 0

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 • 756 views
ADD COMMENT
2
Entering edit mode
16 months ago
barslmn ★ 2.2k

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

ADD COMMENT
0
Entering edit mode

Thanks for your suggestion. It works really well.

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

Login before adding your answer.

Traffic: 2034 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6