TO the following code I get the message "the condition has length > 1 and only the first element will be used":
if (is.na(PSIBl_Tax_Gene$CDS_Acc1)==TRUE & is.na(PSIBl_Tax_Gene$GeneID)==FALSE)
I guess that here IF looks only at the "==" operator, but I'm actually interested in IF looking at the whole expression, given by the "&" (AND) logical operator. I guess I'm making a syntax mistake, but so far I haven't figure out which.