Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Memory issue with cancer data (analogy)

by hdb (Parson)
on Jul 25, 2013 at 15:09 UTC ( #1046366=note: print w/ replies, xml ) Need Help??


in reply to Memory issue with cancer data (analogy)

So you want to translate a dataset

X H 1 3 3 1 3 4 2 8 1 1 3 1 etc...

into

X\H 1 2 3 4 5 6 7 8 etc... 1 1 0 1 0 0 0 0 0 2 0 0 0 0 0 0 0 1 3 2 0 0 1 0 0 0 0 etc...

? Just like an Excel pivot table?


Comment on Re: Memory issue with cancer data (analogy)
Select or Download Code
Re^: Memory issue with cancer data (analogy)
by mtmcc (Hermit) on Jul 25, 2013 at 15:30 UTC
    I think it depends on whether your hooks and hangers and ties etc. have 'names', or whether you could reliably track the data by index alone. Could you post a small sample of the real data you're trying to manipulate?

    EDIT: Sorry hdb, was aiming for OP.

      Only the closets need names - these are the genes, the next to levels are the amino acid positions in each gene of length L (hangers), and the number of mutations at each amino acid position (number of ties on hanger ). I think for the last two index would be sufficient?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-07-23 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (146 votes), past polls