Yes I understand what ?<text> means, I meant is it possible to use this
function (as an argument) with heatmap.2, but I learned I can use
add.expr=mtext(....) to do that. However I'm not simply trying to add more
text to the graph but rather move the display of the x-axis labels from the
bottom of the chart to the top so the output would be more like:
1 2 3 4 5 6
--------------|1
|2
|3
|4
|5
On Jun 2, 2011, at 10:45 PM, David Winsemius wrote:
>
> On Jun 2, 2011, at 10:42 PM, Mark Aquino wrote:
>
>> Hey David,
>>
>> Thanks for answering, but can I use mtext with the heatmap.2 function?
According to the description that's not one of the arguments it takes.
>
> It's not an argument. When someone types ?<something> it means to
look at the help page for the <something> function which will appear if
you just type ?<something> at the console.
>
>
>> Sorry if these questions are trivial, I'm very new with R,
basically being forced to learn it for work.
>>
>>
>> Best,
>> Mark Aquino
>> On Jun 2, 2011, at 10:37 PM, David Winsemius wrote:
>>
>>>
>>> On Jun 2, 2011, at 4:08 PM, Mark Aquino wrote:
>>>
>>>> Hi,
>>>>
>>>> I have what would seem to be a very simple problem but have
been unable to find any way to go about solving it:
>>>> I am using heatmap.2 to create a heatmap and by default the x
axis label is at the bottom of the heatmap, I simply want to move the label to
the top of the heatmap.
>>>
>>> ?mtext
>>>
>>>
>>>> Any help with this would be greatly appreciated.
>>>>
>>>
>>> --
>>>
>>> David Winsemius, MD
>>> West Hartford, CT
>>>
>>
>
> David Winsemius, MD
> West Hartford, CT
>