Skip to content
Prev 308898 / 398503 Next

factor or character

Hello,

Sorry but, what doesn't work? What is the error message or result?
As for stringsAsFactors not keeping character strings as character 
strings maybe this is from calling data.frame from within the 
environment used by with(), but you can use other ways of converting to 
character strings, such as

mod5.sig$snps <- as.character(mod5.sig$snps)

before subsetting. And you can also check the result of

colnames(todos) %in% mod5.sig$snp

What does this give you?

Hope this helps,

Rui Barradas
Em 24-10-2012 11:58, Silvano Cesar da Costa escreveu: