get_vertex_W | R Documentation |
get_vertex_W uses the mutation data and the graph constructed from network data to calculate the weight of the hypergraph output of get_vertex_W is the vertex weight of the hypergraph
get_vertex_W(Mutation, graph)
Mutation |
the mutation data, rows represent genes and columns represent samples |
graph |
the graph constructed from network data |
###the example mutation data is a Lung Squamous Cell Carcinoma Dataset from TCGA ###the example graph is constructed from the HumanNet ###We will show how to get the vertex weight of the hypergraph library(DriverRWH) #load the mutation data data(luscExampleMutation) #load the network data data(HumanNet) #get the graph from HumanNet graph=graph.data.frame(HumanNet) #or from your own network #network_file="" #string=read.table(file=network_file,header=TRUE) #graph=graph.data.frame(string) #get the vertex weight of the hypergraph W=get_vertex_W(Mutation=luscExampleMutation,graph=graph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.