Generates a file for PyMOL based on the XL sites aligned to PDB structures.
1 2 3 4 5 6 7 8 9 10 11 12 |
xlink.df.pdb |
data.frame output from ppi.matchPDB() or ppi.matchPDB2() |
show_only_real_structures |
A list of proteins to only show "real" structrures as opposed to 2D generated structures. Not relevant unless using generated structures. |
write_file |
If TRUE, will write the produced .pml file. |
colors |
A list of colors as R names or hexcodes or a palette defined by RColorBrewer/viridis. If left blank, will use the colors that are in the column freq_color. |
color_by |
If colors is not NULL, choose either 'freq' or 'dist' for which variable should be colored. |
file.name |
File name for the exported PyMOL file. Should end in '.pml' |
start.num |
Starting number for custom color, change if additional custom colors are being used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.