[R] problem reading file containing bit vector

Fahim M
Sun, 30 Jan 2011 17:22:37 -0000

Hi I have a tab delimited file with fillowing content:

"swissProtID"    "entrezID"    "bitVec"
"Q62924"             "---"
"00000000100010000000000000000000"
"P18897"             "---"
"00000000000001000100000000000000"
"Q62736"             "---"
"00001000001000000000001000000000"
"P13589"             "---"
"00100000010000010000000000000000"

When I read this the bitVec field is not read properly. Instead, the value
showing is "Inf" .
How should i read this file?  as.is/colclasses field in read function is not
helping me.

Is there any package that can do bitwise operation(and/or) on bitVectors.
bitops seems to do that but I need output in bitvector format only.
Thanks
Fahim


--
Fahim Mohammad
Bioinforformatics Lab
University of Louisville
Louisville, KY, USA
Ph:  +1-502-409-1167

	[[alternative HTML version deleted]]