Description Usage Arguments Value Author(s) References See Also Examples
kda2himmeli.identify
searches the given data list dat
within the labels
according to the specified attribute (variable
name). It returns the matched rows. Hence, it finds identifier numbers for
the searched data list dat
.
1 | kda2himmeli.identify(dat, varname, labels)
|
dat |
node ID list whose symbols or names will be collected from network node name (or symbol) list. |
varname |
specifies that |
labels |
the data list possibly including names or symbols corresponding to the
given IDs in the |
res |
the matching labels or names of |
Ville-Petteri Makinen
Shu L, Zhao Y, Kurt Z, Byars SG, Tukiainen T, Kettunen J, Orozco LD, Pellegrini M, Lusis AJ, Ripatti S, Zhang B, Inouye M, Makinen V-P, Yang X. Mergeomics: multidimensional data integration to identify pathogenic perturbations to biological systems. BMC genomics. 2016;17(1):874.
1 2 3 4 5 6 7 8 9 10 | ## Converts identities (either module names or gene names) to the indices
aa<- data.frame(MODULE=c("Mod1", "Mod1", "Mod2", "Mod2", "Mod3"),
NODE=c("GeneA", "GeneC", "GeneB", "GeneC", "GeneA"))
aa
bb <- kda2himmeli.identify(aa, "MODULE", c("Mod1"))
bb
cc <- kda2himmeli.identify(aa, "MODULE", c("Mod1", "Mod3"))
cc
dd <- kda2himmeli.identify(aa, "NODE", c("GeneA"))
dd
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.