What is trace in R's heatmap.2 function?
1
1
Entering edit mode
10.0 years ago
NHEJ ▴ 360

Very simply, what is the best way to understand what the trace feature represents (which adds a line to the middle of each column when drawing a heatmap) of heatmap.2 in R? There's practically nothing online about this (yet).

RNA-seq R trace gplots heatmap.2 • 7.9k views
ADD COMMENT
6
Entering edit mode

Off-topic, but I really wish the trace parameter defaulted to "none".

ADD REPLY
4
Entering edit mode

The first step to understanding a function's behaviour is to read the documentation. Have you done ?heatmap.2

ADD REPLY
2
Entering edit mode

Of course..

ADD REPLY
0
Entering edit mode
And what about the documentation do you not understand?
ADD REPLY
0
Entering edit mode
10.0 years ago
Ying W ★ 4.3k

Since nobody is posting...

trace

character string indicating whether a solid "trace" line should be drawn across 'row's or down 'column's, 'both' or 'none'. The distance of the line from the center of each color-cell is proportional to the size of the measurement. Defaults to 'column'.

http://www.inside-r.org/packages/cran/gplots/docs/heatmap.2

ADD COMMENT
0
Entering edit mode

well, nobody posted that, because OP has stated that they've read that.

ADD REPLY

Login before adding your answer.

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