search for: callwithnames

Displaying 4 results from an estimated 4 matches for "callwithnames".

2006 Sep 26
0
Not all functions work in RSPerl package?
...push(@x1, $exonCount); push(@y1, $geneCount); } Here is the result if I print out the value in @y1: print "y1---",join(" ",@y1), "---end\n"; % y1---101 44 33 26 8 15 18 13 3 5 4 2 1 4 1 1---end But when I call &R::callWithNames("barplot", {'',\@y1, 'main', 'Barplot the Gene number per exon with top1000 low Ks', 'xlab', "Exon(low ks) number in the gene",'ylab', 'Numbers of gene'}); It always says non-numeric argument: % Error in -0.01 * height : non-nume...
2006 Sep 26
0
Not all functions work in RSPerl package?
...push(@x1, $exonCount); push(@y1, $geneCount); } Here is the result if I print out the value in @y1: print "y1---",join(" ",@y1), "---end\n"; % y1---101 44 33 26 8 15 18 13 3 5 4 2 1 4 1 1---end But when I call &R::callWithNames("barplot", {'',\@y1, 'main', 'Barplot the Gene number per exon with top1000 low Ks', 'xlab', "Exon(low ks) number in the gene",'ylab', 'Numbers of gene'}); It always says non-numeric argument: % Error in -0.01 * height : non-nume...
2005 May 19
1
R from Perl -- RSPerl and lines function.
...with which pars files, and I obtain data in a list @distance. I draw an hist with RSPerl command (from Perl): -------------------------- (---Perl script---) &R::initR("--silent"); &R::library("RSPerl"); @Rdata=&R::call("as.numeric", \@distance); &R::callWithNames("hist", {'', \@Rdata, 'main', '', 'xlab', "Distribution of the distances between oligo-5' and sequence 3'", 'br', 15, 'col', 'gray', 'prob', 'T'} ); &R::call("lines", ("density&qu...
2002 Jun 13
1
Using RSPerl with add-on package ctest and named parameters
Hi,. I've installed RSPerl on my Linux box. It runs all of the test scripts that I've been able to find. I've learned that I can pass in vectors of data as array-refs, and can use named parameters with R::callWithNames and a hash of names and values. The one problem that I'm left with is how to call a function from an add-on package ('ctest' in this case). I know that I need to use R::library("ctest") to load the library. I want to run the following R code from Perl: > library(ctes...