Description Usage Arguments Details Value Author(s) See Also Examples
Extract the splicing graph for a given gene from a SplicingGraphs object and return it as a plottable graph-like object.
1 2 3 4 5 6 7 |
x |
TODO |
keep.dup.edges |
If |
tx_id.as.edge.label |
Whether or not to use the transcript ids as edge labels. |
as.igraph |
TODO |
y |
TODO |
... |
Additional arguments. |
TODO
TODO
H. Pagès
This man page is part of the SplicingGraphs package.
Please see ?`SplicingGraphs-package`
for an overview of the
package and for an index of its man pages.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | example(SplicingGraphs) # create SplicingGraphs object 'sg'
sg
## 'sg' has 1 element per gene and 'names(sg)' gives the gene ids.
names(sg)
graphA <- sgraph(sg["geneA"], tx_id.as.edge.label=TRUE)
if (interactive()) {
## Edges are labeled with the transcript ids (or names), in blue.
## The orange arrows are edges corresponding to exons:
plot(graphA)
## Note that plot() works directly on a SplicingGraphs object of
## length 1:
plot(sg["geneB"])
## Slideshow of the graphs:
slideshow(sg)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.