color.pymol: Color PyMol

Description Usage Arguments

View source: R/pdb_functions2.R

Description

Generate colors to be used when generating a PyMol script

Usage

1
2
color.pymol(vars, colors = NULL, png.name = "pymol_legend%03d.svg",
  gray0 = FALSE, print.legend = TRUE)

Arguments

vars

List of variables to be used

colors

List of either PyMol colors, hexcodes, or standard colors in R. Will also accept color palette names from RColorBrewer and viridis. If left as NULL, will use standard PyMOL tint colors.

gray0

If TRUE, will shift color palette and replace 1st color as gray (corresponds 0 if using frequency). Defaults to FALSE.

jpeg.name

Name of the legend output. Defaults to "pymol_legend.jpg" unless otherwise specified.


egmg726/crisscrosslinker documentation built on Sept. 8, 2018, 9:30 p.m.