plot(modes, pdbs=pdbs, col=col). Error in e[, "start"] : incorrect number of dimensions
I'm following the NMA tutorial described in http://thegrantlab.org/bio3d/tutorials/normal-mode-analysis using my own PDB Ids.
I'm able to generate structure alignment, and generate modes. print(modes) gives: Call: nma.pdbs(pdbs = pdbs)
Class: enma
Number of structures: 9
Attributes stored: - Root mean square inner product (RMSIP) - Aligned atomic fluctuations - Aligned eigenvectors (gaps removed) - Dimensions of x$U.subspace: 294x288x9
Coordinates were aligned prior to NMA calculations
- attr: fluctuations, rmsip, U.subspace, L, full.nma, xyz, call
When I try to plot I get:
col <- c(1,1,1, 2,2, 3,3, 4,4) plot(modes, pdbs=pdbs, col=col) Extracting SSE from pdbs$sse attribute Error in e[, "start"] : incorrect number of dimensions
Although this issue was previously reported fixed, it is not in my case.
The sessionInfo() is: R version 3.3.3 (2017-03-06) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: macOS 10.13.3
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] bio3d_2.3-1
loaded via a namespace (and not attached): [1] parallel_3.3.3 tools_3.3.3 Rcpp_0.12.10 grid_3.3.3
Comments (2)
-
-
- changed status to resolved
Just needed to update to later package version...
- Log in to comment
Please disregard this. The problem was due to the use of older packages of bio3d.