YuLab-SMU / ChIPseeker

:dart: ChIP peak Annotation, Comparison and Visualization
https://onlinelibrary.wiley.com/share/author/GYJGUBYCTRMYJFN2JFZZ?target=10.1002/cpz1.585
219 stars 74 forks source link

add function for covplot() #188

Closed MingLi-929 closed 2 years ago

MingLi-929 commented 2 years ago

According to issue #185 , I add function to specify the color for the covplot().

devtools::install_github("MingLi-929/ChIPseeker",build_vignettes = T)

peak <- getSampleFiles()

## the order maters
covplot(peak[4:5],fill_color = c('black','red'))

3

# change the order of color
covplot(peak[4:5],fill_color = c('red','black'))

4

## it can also specify for single sample
covplot(peak[[4]],fill_color = c('red'))

5

# the color can be specify in hex number
covplot(peak[4:5],fill_color = c('#00FFFF','#FF4040'))

6