[R] Multiple column/row names?

Hesen Peng hesen.peng at gmail.com
Tue Aug 19 04:40:22 CEST 2008


Ahhhh, I'm doing this because of the project I'm working on. The gene
names in clinical genomic usually have two specifications for one
entry. And I was just wondering whether there is a simple way of
solving that problem.

2008/8/19 jim holtman <jholtman at gmail.com>:
> The row names are easy since they are just one line.  The column names
> I don't think can be constructed. Why do you want two column names?
> You won't be able to access them.  You can always create your own
> object and put the two column names on it.
>
> On Mon, Aug 18, 2008 at 1:20 PM, Hesen Peng <hesen.peng at gmail.com> wrote:
>> Hi,
>>
>> I'm thinking of presenting the matrix like:
>>
>>                         Col1.1    Col1.2    Col1.3
>>                         Col2.1    Col2.2    Col2.3
>> Row1.1 Row1.2  123        321        221
>> Row2.1 Row2.2  234        432        223
>>
>> Here the Row*.* and Col*.* may be the names of the corresponding
>> rows/columns. Thanks
>>
>> 2008/8/13 jim holtman <jholtman at gmail.com>:
>>> Exactly what are you asking?  Can you provide an example of the output
>>> you would expect.
>>>
>>> On Tue, Aug 12, 2008 at 1:21 AM, Hesen Peng <hesen.peng at gmail.com> wrote:
>>>> Hi all,
>>>>
>>>> I wonder if there is a way to create a matrix with two (or even more)
>>>> column/row names? Thank you very much.
>>>>
>>>> Have a nice day.
>>>>
>>>> --
>>>> 彭河森 Hesen Peng
>>>> http://hesen.peng.googlepages.com/
>>>> ______________________________________________
>>>> R-help at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>
>>>
>>>
>>> --
>>> Jim Holtman
>>> Cincinnati, OH
>>> +1 513 646 9390
>>>
>>> What is the problem that you are trying to solve?
>>>
>>
>>
>>
>> --
>> 彭河森 Hesen Peng
>> http://hesen.peng.googlepages.com/
>>
>
>
>
> --
> Jim Holtman
> Cincinnati, OH
> +1 513 646 9390
>
> What is the problem that you are trying to solve?
>



-- 
彭河森 Hesen Peng
http://hesen.peng.googlepages.com/


More information about the R-help mailing list