Question: Can we change the name of the ColAttributes in the image generated by dba.plotHeatmap?
0
gravatar for researcher
12 weeks ago by
researcher0
researcher0 wrote:

Hi, Can we change the name of the ColAttributes in the image generated by dba.plotHeatmap? As I have two attributes in my data DBA_CONDITION, DBA_FACTOR but want to name "Factors" as "Histone Mark" in the figure generated by plot() or dba.plotHeatmap(). Is it possible to do so?

Thanks.

ADD COMMENTlink modified 12 weeks ago by Rory Stark2.9k • written 12 weeks ago by researcher0
Answer: Can we change the name of the ColAttributes in the image generated by dba.plotHe
0
gravatar for Rory Stark
12 weeks ago by
Rory Stark2.9k
CRUK, Cambridge, UK
Rory Stark2.9k wrote:

Yes you can!

You can change the labels used in the plots by setting certain config values. For example, see the following code using the sample data supplied with DiffBind:

data(tamoxifen_analysis)
tamoxifen$config$tissue <- "Cell Line"
tamoxifen$config$condition <- "Tamoxifen Status"
plot(tamoxifen)

you can set:

  • config$tissue
  • config$factor
  • config$condition
  • config$treatment
  • config$replicate
ADD COMMENTlink written 12 weeks ago by Rory Stark2.9k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 307 users visited in the last hour