Description Usage Arguments Examples
This function renames genes of a previously learned graph.
1 2 3 4 5 6 7 | rename.genes(
g,
genes,
new.names,
to = c("igraph", "adjacency", "edges", "graph", "bnlearn"),
from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn")
)
|
g |
Graph object. |
genes |
Genes to be renamed (vector). |
new.names |
New names (vector, in the same order). |
to |
Output format (optional): 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'igraph' |
from |
Input format (optional): 'auto', 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'auto' |
1 | g <- rename.genes(g, c('A', 'B', 'C'), c('Cd74', 'Ldhc', 'Tlx3'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.