perlbird has asked for the wisdom of the Perl Monks concerning the following question:
I have a question regarding casting and melting arrays. Is there a sweet alternative/solution to could cast or melt a array/table/dataframe like what R's reshape2 package got to ofter ? (see http://www.statmethods.net/management/reshape.html)
I have been working with tab-delimited text files that looks like this (white spaces below are tab):
Gene_name sampleand I want a output that looks something like this
gene_A sample_1 sample_2is there a way i can do it with perl?
Cheers! perlbird
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Melt and casting array!
by Don Coyote (Hermit) on Apr 11, 2013 at 17:53 UTC | |
|
Re: Melt and casting array! (csv pivot)
by Anonymous Monk on Apr 11, 2013 at 13:07 UTC | |
|
Re: Melt and casting array!
by ww (Archbishop) on Apr 11, 2013 at 19:14 UTC | |
|
Re: Melt and casting array!
by LanX (Saint) on Apr 11, 2013 at 13:06 UTC | |
by perlbird (Initiate) on Apr 11, 2013 at 13:10 UTC |