Displaying 2 results from an estimated 2 matches for "marker2_allele1".
Did you mean:
marker1_allele1
2012 May 21
1
help with melt/cast in reshape-package
...> this was just the head(), in fact, the sample_id col has in fact different
> ids, I would like to aggregate them into one
> and I would like to get something like this:
>
> species sample_id Marker1_Allele1
> Marker1_Allele2 Marker2_Allele1 Marker2_Allele2
> Marker3_Allele1 Marker3_Allele2 etc. (with 35
> different markers)
>
> D. madagascariensis SH233 179
> 225 134
> 244
>
> I tried to prepare the cast()...
2012 May 23
0
data conversion (possibly with reshape package)
...D. madagascariensis
this was just the head(), in fact, the sample_id col has different ids, I
would like to aggregate matching sample_id's into one
and would like to get something like this:
species sample_id Marker1_Allele1
Marker1_Allele2 Marker2_Allele1 Marker2_Allele2
... Marker31_Allele1 Marker31_Allele2
D. madagascariensis SH233 179
225 134
244 308 322
D. baronii SH151 123...