buildNw | R Documentation |
This function makes a starting network object, it just calls the buildPKN
and PKNlist
functions
buildNw(data.On,targets.On, bg,nK=c("all","no", "drugs2data", "data"))
data.On |
a |
targets.On |
a list of drug targets (Uniprot identifiers matching to the "K.ID" column in the background network data frame) |
bg |
a |
nK |
a single string ("all","no", "drugs2data", "data") specifying whether the predicted edges should be included at all levels, none, only in the network that connects drug targets to data kinases or only between data sites and their kinases |
If you add data to our network beyond the automatically provided one, the column "SID" needs to be filled, as any row with NA in that column will be removed (the weight correction depends on unique identifiers in that column).
This function returns a new PKNlist
object that contains all interactions linking drug targets and drug targets to perturbed sites, and additional edges for integrator nodes (with SID="i…"), as well as all other network elements needed for optimisation
C. Terfve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.