search for: demirpresgen

Displaying 2 results from an estimated 2 matches for "demirpresgen".

Did you mean: demirpresgenes
2010 Dec 18
0
[BioC] problem with function
...nyway, I got round the problem by using 'aggregate' instead of converting to a list and then tapply to sum values of metric. Probably more efficient as well. Thanks for the help offered. My function now looks like this (for the record!) and behaves as it should. makeMetric <- function(deMirPresGenes, deMirs){ ??? #need to match position of each miR in deMirPresGenes with its FC to form a vector of FC in correct order ??? ??? fcVector <- as.numeric(with (deMirs, FC[match(deMirPresGenes[,4], Probe)] ) ) ??? #multiply fc by context score for each interaction??? ? ? metric <- fcVector...
2010 Dec 17
1
help with function
Hello List I'm moving this over from the bioC list as, although the problem I'm working on is biological, the current bottle neck is my poor understanding of R. I wonder if someone would help me with the following function. cumulMetric <- function(deMirPresGenes, deMirs){ ??? #need to match position of each miR in deMirPresGenes with its FC to form a vector of FC in correct order ? ? fc <- deMirs ? ? fcVector <- as.numeric(with (fc, FC[match(deMirPresGenes[,4], Probe)] ) ) ? ? #multiply fc by context score for each interaction ? ? metric <- fcV...