I have been merrily using the genetics package and more specifically have
been using the makeGenotypes and genotypes function. I check my
accomplishments by going
> class(g2)
[1] "genotype" "factor"
and likewise
> class(g1)
[1] "genotype" "factor"
Yet when I execute a command such as allele cou
Farrel Buchinsky gmail.com> writes:
> Clearly g1 and g2 are not exactly the same even though they are the same
> class.
> I can make g2 behave as g1 if i type
> g3<-genotype(g2)
> g3 then behaves as it should.
>
> The issue may have arrisen since g2 is just a subset of a much bigger object
> that