view.cnapath() shortest path color
Issue #167
resolved
Is there an option to change the color of the shortest path in .vmd file saved via view.cnapath?
Comments (4)
-
-
- marked as enhancement
-
Hi,
A new option "colors" has been added to the function in the latest commit (commit).
For example,
# show all paths in red view.cnapath(pa, pdb=pdb, colors="red", launch=TRUE) # show paths from blue (longest) to green (shortest) view.cnapath(pa, pdb, colors=c("blue", "green"), launch=TRUE)
-
- changed status to resolved
- Log in to comment
We don't have options to adjust colors presently. The quickest way to achieve it is to modify the plot function a little bit and call it in an R session. For example, to display all paths as red
You can do similar things for other colors.
Let me know if it works...