plotAvgProf - How to change labels in the facet option
1
0
Entering edit mode
inna.gur • 0
@9688cd82
Last seen 3 months ago
Israel

Hi

I have trouble with replacing the labels in the plotAvgProf function in R while using Chipseeker.

plotAvgProf(tagMatrixList, xlim=c(-3000, 3000), conf=0.95,resample=500, facet="row")
  1. How do I change the labels from "Peak1,,,Peak2..." to my sample names

Thanks

ChIPseeker • 306 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

Change the names of your tagMatrixList

> library(ChIPseeker)
> data("tagMatrixList")
> names(tagMatrixList)
[1] "ARmo_0M"    "ARmo_1nM"  
[3] "ARmo_100nM" "CBX6_BF"   
[5] "CBX7_BF" 

> names(tagMatrixList) <- c("These","names","have","been","changed")
> plotAvgProf(tagMatrixList, xlim=c(-3000, 3000), conf=0.95,resample=500, facet="row")

Login before adding your answer.

Traffic: 528 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