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 21 months ago

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 • 260 views
0
Entering edit mode
Rory Stark ★ 4.1k
@rory-stark-5741
Last seen 23 hours ago
CRUK, 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