Description Usage Arguments Value Note Author(s) Examples
Calls scPPIN functions to compute a steiner tree that finds the best solution to the connections in a cluster from the single cell data and returns it in functional module object. Called by getDataFiles
1 | getFM(pvalues)
|
pvalues |
A vector containing the named pvalues for each node in a cluster |
Returns a functional module containing the solution to the connections of the ppi network solved by dapcstp
Called by getDataFiles and getCyGraphs
Matt Heffernan, University of Illinois at Chicago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
getFM(pValues)
## The function is currently defined as
function (pvalues)
{
ppin <- loadPPIN()
checksum = sum(pvalues < 0) + sum(pvalues > 1)
if (checksum > 0) {
warning("p-values are not in (0,1]!")
}
FDR <- 10^{
-2
}
pvalues[pvalues < 10^-308] <- 10^-308
functionalModule <- detectFunctionalModule(ppin, pvalues,
FDR)
return(functionalModule)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.