Description Usage Arguments Value Examples
Get all properties of neighbour vertices in a mutation network of specific vertices.
1 | mutated.neighbours(.G, .V, .order = 1)
|
.G |
Mutation network. |
.V |
Indices of vertices for which return neighbours. |
.order |
Neighbours of which order return. |
List of length .V
with data frames with vertex properties. First row in each data frame
is the vertex for which neighbours was returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
data(twb)
twb.shared <- shared.repertoire(twb)
G <- mutation.network(twb.shared)
head(mutated.neighbours(G, 1)[[1]])
# label vseg repind prob people npeople
# 1 CASSDRDTGELFF TRBV6-4 1 -1 1111 4
# 2 CASSDSDTGELFF TRBV6-4 69 -1 1100 2
# 3 CASSYRDTGELFF TRBV6-3, TRBV6-2 315 -1 1001 2
# 4 CASKDRDTGELFF TRBV6-3, TRBV6-2 2584 -1 0100 1
# 5 CASSDGDTGELFF TRBV6-4 5653 -1 0010 1
# 6 CASSDRETGELFF TRBV6-4 5950 -1 0100 1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.