color.pymol: Color PyMol

Description Usage Arguments Author(s)

View source: R/pdb_functions2.R

Description

Generate colors to be used when generating a PyMol script

Usage

1
2
3
4
5
6
7
8
color.pymol(
  vars,
  colors = NULL,
  png.name = "pymol_legend%03d.svg",
  gray0 = FALSE,
  print.legend = TRUE,
  start.num = 1
)

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.

png.name

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

gray0

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

start.num

Starting number for custom color, change if additional custom colors are being used

Author(s)

Emma Gail


egmg726/crisscrosslinker documentation built on Jan. 23, 2021, 1:50 a.m.