Can we change the name of the ColAttributes in the image generated by dba.plotHeatmap?
1
0
Entering edit mode
researcher • 0
@researcher-20723
Last seen 22 months ago
United States

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.

DiffBind plot plotHeatmap dba.plotHeatmap • 801 views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 18 days ago
Cambridge, UK

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 COMMENT

Login before adding your answer.

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