pathsD | R Documentation |
Extracts, from a background network with optimised weights, the maximum scoring paths from a kinase to a set of data nodes
pathsD(nwTable, nM,nodes2link,drug)
nwTable |
a background network data frame (from |
nM |
the number of models on which the frequency is based |
nodes2link |
a character vector of data nodes that we want to connect |
drug |
a single character string, containing the name of the K/P that we want to connect (a single UPID) |
The maximum input edge is picked based on the "ntag" column of the nwTable
data frame, so it should contain opres$FE[match(nwTable$SID, rownames(opres$FE)),dim(opres$FE)[2]]
where opres
is the list resulting from the oRes
function. If we are working with combined optimisations, then the ntag
column should contained the averaged equivalents of the vector just mentioned.
a data frame of interactions that is a subset of the starting one
C. Terfve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.