(nn*na))
> se
> }
>
> cROC<-function(AUC1,na1,nn1,AUC2,na2,nn2,r){
> se1<-seROC(AUC1,na1,nn1)
> se2<-seROC(AUC2,na2,nn2)
>
> sed<-sqrt(se1^2+se2^2-2*r*se1*se2)
> zad<-(AUC1-AUC2)/sed
> p<-dnorm(zad)
> a<-list(zad,p)
> a
> }
>
to
return a matrix of
1.2 1
2.0 2
1.3 3
Can someone suggest how to code for that? The second column can be of
characters.
Thanks much.
--
Waverley @ Palo Alto
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
;]))
>
> Most of that is just formatting it in the way you requested. All you
> need to compute the values is
>
> tapply(x[,1], x[,2], min)
>
> -Ista
>
> On Thu, Oct 29, 2009 at 1:47 AM, Waverley @ Palo Alto
> wrote:
>> Hi,
>>
>> I have a matrix, first
(x)
>> x.min <- tapply(x[,1], x[,2], min)
>> x[x[,1] %in% x.min,]
>> ## all matches
> V1 V2
> [1,] 1.2 1
> [2,] 1.2 1
> [3,] 2.0 2
> [4,] 1.4 3
>> ## unique matches
>> unique(x[x[,1] %in% x.min,])
> V1 V2
> [1,] 1.2 1
> [2,]
the borders
are.
Can someone help? Essentially I want the dendro tree of the genes
which are grouped after the clustering so that, e.g., I want to check
whether genes clustered together are in the same pathway etc.
Thanks in advance.
--
Waverley @ Palo Alto
Hi,
I have a list of IPI gene IDs. I want to find out whether there is a
package which can map the gene ontology to these IPIs, and plot the
pie chart to demonstrate the molecular function distributions.
The input is like the following gene IPI IDs:
IPI:IPI8860.1|SWISS-PROT:Q9BXJ4-1|TREMBL:Q
Hi,
I am doing an experiment which results different colors of different
intensities in the 384 micro titer plate.
I took a picture of the plate by scanning in the image as a jpeg file and
now I want to
1. read in the image file
2. grid the content
3. need to extract the intensity and color of e
Hi,
I am starting to use Xcode a lot for C/C++ programming.
Can you do R programming in Xcode? If can, how to configure to enable this?
Much thank in advance.
--
Waverley @ Palo Alto
__
R-help@r-project.org mailing list
https://stat.ethz.ch
Hi,
In perl, to get a substring matching a particular pattern can be
implemented like the following example:
$x = ".txt";
if ($x=~ /(.*?)\.txt/){
$prefix = $1;
}
So how to do the same thing in R?
Can someone provide me the code sample?
Thanks much in advance.
--
Waverley @
code similar to that in perl
to extract the prefix out of the string.
Thanks much.
On Sun, Aug 22, 2010 at 3:05 PM, Waverley @ Palo Alto
wrote:
> Hi,
>
> In perl, to get a substring matching a particular pattern can be
> implemented like the following example:
>
> $x = ".
Hi,
Can someone help as how to use R to program google search in the R
code? I know that other languages can allow or have the google search
API
If someone can give me some links or sample code I would greatly appreciate.
Thanks.
--
Waverley @ Palo Alto
g the AJAX Search API. What about R?
Thanks.
On Fri, Sep 3, 2010 at 2:23 PM, Waverley @ Palo Alto
wrote:
> Hi,
>
> Can someone help as how to use R to program google search in the R
> code? I know that other languages can allow or have the google search
> API
>
> If someone c
ng} . "(" . $result->{url} . ")\n";
# etc
}
if(!$i){
print "Sorry, but there were no results.\n";
}
On Fri, Sep 3, 2010 at 2:23 PM, Waverley @ Palo Alto
wrote:
> Hi,
>
> Can someone help as how to use R to program google search in the R
> co
provide me some sample code to create a database and
table? Specifically create a database first, then create a table
inside the database.
Thanks a lot in advance.
--
Waverley @ Palo Alto
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
Hi,
I am looking for a R package which can do online recursive training, e.g.
online recursive LSSVM algorithm.
Can some one help?
Thanks.
Waverley.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.
15 matches
Mail list logo