This is my first time here at R Forum!

    I am a new user of R. I am very happy with this fabulous software!

    I know how to use greps, fors, seeds, %in%, paste, etc.

    But I need to know how to use  a value of an aboject in a line command?

    Example:
> i
[1] "TP53"

> TP53
  V1   V2  V3
1  1 TP53 1.1
2  2 TP53 1.2
3  3 TP53 1.3

I would like to do a t.test of TP53 x control.
But this is a gene list.
My line command would be

result = t.test( i[,3], control[,3]).

But using this, the test will be in the object i and I would like to do in
the object which is value of i.

I though to use `print(i)`, like Shell, to modify my test line command, but
i does not works.

Do I was clear? I need to do it because the test will be done in a list of
genes (for i in genes).

Thank you very much,

regards,

Leandro Colli

	[[alternative HTML version deleted]]

