Open liyang24 opened 1 year ago
Hi @liyang24
Are you able to generate the network plot?
The function NetCentPlot is going to plot the network but with different layout, so in theory, it should be working if you can generate the network plot.
@jsnagai Do you have any ideas?
Yes, I got the network plot,so i don't know what went wrong
@liyang24 sorry for the late reply, would it be possible for to you check the number of components that your graph has? On that you possibly can you is subset the connected component related to the TF/Target that you are selecting.
Best
thanks! I did what you said
tf_vertices <- c("RUNX1") V(netobj)$type <- ifelse(1:vcount(netobj) %in% tf_vertices, "TF", "Gene") cc <- components(netobj) tf_cc <- induced_subgraph(netobj, which(cc$membership == cc$membership[tf_vertices[1]])) p <- NetCentPlot(tf_cc,"RUNX1")
and I got this picture
What should I do if I want to display the TF name of the node?
Hi! thanks for the jobs I've got the object to build the network on
Looking at the object, it looks normal
I checked netobj
I don't know how do I get the final NetCentPlot, Can you offer any help? thanks a lot!