Hello Jim,
Thank you so much!!! It is a magic!!! Now I understand the use of
ifelse. Thank you again!!!
Tae-Jin
On Feb 5, 2011, at 12:49 AM, jim holtman wrote:
You should be able to use 'ifelse'
Os.chr4.gene.new$color <-
ifelse(Os.chr4.gene.new$if_TE_related == "TE_related", "black",
You should be able to use 'ifelse'
Os.chr4.gene.new$color <-
ifelse(Os.chr4.gene.new$if_TE_related == "TE_related", "black", "orange")
On Fri, Feb 4, 2011 at 7:09 PM, Tae-Jin Lee wrote:
> Hello,
>
> I'm trying to add a column to the following data frame. The new column
> will contain "blac
2 matches
Mail list logo