[R] problem reading file containing bit vector

David Winsemius dwinsemius at comcast.net
Sun Jan 30 18:25:54 CET 2011


On Jan 30, 2011, at 12:22 PM, Fahim M wrote:

> 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.

"Not helping"? Show your code.

>
> 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


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list