[adegenet-forum] so...
valeria montano
mirainoshojo at gmail.com
Mon Mar 8 11:05:30 CET 2010
Hi Thibaut,
many thanks for your answer....you guess it right, you lost the homemade
lasagna that I did in the night between Friday and Tuesday while I was
hopefully checking the email :P... sorry for the delay of my replay, the
command lines are these:
STRs<-read.table("STRs.csv", header=T)
popSTRs<-read.table("popSTRs.csv", header=F)
STRs<-as.genind(STRs,pop=pop_STRs, prevcall=NULL, ploidy=2, type="codom")
STRspop<-genind2genpop(STRs, pop=popSTRs)
STRs_spca<-spca(STRspop, xy=coorstr, cn=NULL, scale=T, scale.method="sigma",
scannf=F, nfposi=1, nfnega=1, type=2)
I send you the files too, maybe the error is there...many thanks in advance
for your help!!! Opensource blessed forever!!!
Best regards and cheers
Valeria
2010/3/5 Jombart, Thibaut <t.jombart at imperial.ac.uk>
> Hi Valeria,
>
> sorry I'm just reading your email right now. I guess I lost the opportunity
> to have genuine Lasagne. Damn.
>
> Unfortunately I can't see what's wrong just by reading the error. Can you
> give us the command lines you used so that we can check if it is not some
> basic syntax error (starting from when you read your data in R)?. If that is
> not enough, I would need your genpop object (you can send it off list) so
> that I can check what's going on.
>
> Cheers,
>
> Thibaut.
>
> ________________________________________
> From: adegenet-forum-bounces at lists.r-forge.r-project.org [
> adegenet-forum-bounces at lists.r-forge.r-project.org] On Behalf Of valeria
> montano [mirainoshojo at gmail.com]
> Sent: 04 March 2010 23:08
> To: adegenet-forum at lists.r-forge.r-project.org
> Subject: [adegenet-forum] so...
>
> ...as I promised I am contacting "Mr.adegenet.forum" for "future problems"
> (that means that I am currently having problems...). I swear that I was
> about reading the whole archive to see if somebody had my same problem
> before so to not bother more than necessary....but I need an answer until
> tomorrow 10 am (high hopes). I am performing spca on a dataset of 14 STRs,
> no missing data, the genpop object doesn't show any defect
> (apparently)...but when I try to perform spca it says: Error in
> `rownames<-`(`*tmp*`, value = c("1", "2", "3", "4", "5", "6", : attempt to
> set rownames on object with no dimensions...I am sure that I DID some obtuse
> mistake!!! but I don't know what it is!!!! I will send an homemade Italian
> (100%) lasagna to anybody will be so nice to help me before 10 a.m. of
> today...merci beaucoup
> Valeria
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20100308/1735e6cf/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: STRs.csv
Type: text/csv
Size: 24448 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20100308/1735e6cf/attachment-0002.csv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pop_STRs.csv
Type: text/csv
Size: 1165 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20100308/1735e6cf/attachment-0003.csv
More information about the adegenet-forum
mailing list