view.xyz incorrect coloring

Issue #239 resolved
Lars Skjærven created an issue

shouldn't it color 100 residues red, and the last 29 green?

pdb = read.pdb("1hel")
pdb = trim(pdb, "calpha")

col <- c(rep(2, 100), rep(3, 29))
view(pdb$xyz, col=col, type=2)

Comments (1)

  1. Log in to comment