thank u so much for ur help,,i have tried it before,,and succeded to do so,,the problem is that, in the next stage of the package i am facing a problem which i dont know how to fix,,,i am useing cnvpack ( http://www.meb.ki.se/~yudpaw/) and in the following command i get an error,,which is..
> cnvr<-setreg(out,anno.list= myann,pheno.data= mypheno,high.conf= NA,LIM= 2,method= "COVER", cnv.abnormality= "both") Error in setreg(out, anno.list = myann, pheno.data = mypheno, high.conf = NA, : NAs in foreign function call (arg 4) i then manipulate my data (out) and made "high.conf=0", then it shows me this error... > cnvr<-setreg(out,anno.list= myann,pheno.data= mypheno,high.conf=0,LIM= 2,method= "COVER", cnv.abnormality= "both") Error in st[ii]:en[ii] : NA/NaN argument ---------------- Ilyas On Tue, Oct 13, 2009 at 1:32 AM, joris meys <jorism...@gmail.com> wrote: > As the error says, you have different row numbers in your variables. > The variable $Chromosome has no values. > > try : > ann <- data.frame( ann [-3] ) > > Cheers > Joris > > On Mon, Oct 12, 2009 at 8:29 AM, Ilyas . <mykh...@gmail.com> wrote: > > i have two RData files,,i want to print them to check the format of the > > tables in these files,,,i can load both the files and can read it as well > > > >> load('ann.RData') > >> str(ann) > > List of 4 > > $ Name : chr [1:561466] "rs3094315" "rs12562034" "rs3934834" > > "rs9442372" ... > > $ Position : int [1:561466] 742429 758311 995669 1008567 1011278 > 1011521 > > 1020428 1021403 1038818 1039813 ... > > $ Chromosome: chr(0) > > $ Chr.num : num [1:561466] 1 1 1 1 1 1 1 1 1 1 ... > > > > but when i try to display all the table by using the R commander.i have > got > > the display of 'pheno.RData' file,,but the other file 'ann.RData' show me > an > > error i.e. > > > >> ann <- as.data.frame(ann) > > Error in data.frame(Name = c("rs3094315", "rs12562034", "rs3934834", > > "rs9442372", : > > arguments imply differing number of rows: 561466, 0 > > > > > > > > i am sending you both files,,,hope u will help me solve this problm.... > > > > > > Ilyas > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > > and provide commented, minimal, self-contained, reproducible code. > > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.