search for: fcvector

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

Did you mean: fc_vector
2010 Dec 18
0
[BioC] problem with function
...e 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 * as.numeric(deMirPresGenes[,11]) ? ? geneMetric <- cbind(deMirPresGenes[,2], metric) ? ? colnames(geneMetric) <- c('sym', ...
2010 Dec 17
1
help with function
...rent 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 <- fcVector * as.numeric(deMirPresGenes[,11]) ? ? geneMetric <- cbind(deMirPresGenes[,2], as.numeric(metric)) ? ? #make cumul weighted score ? ? listMetric &...