I want to plot PC(1 or 2 or 3) vs Time, but I am getting error and not able solve it. Can anyone help me out? The details are given in the description

Issue #967 open
Farindra Kumar created an issue

inds<-atom.select(pdb, elety="CA")
trj<-fit.xyz(fixed=pdb$xyz, mobile=dcd, fixed.inds=inds$xyz, mobile.inds=inds$xyz)
pca <-pca.xyz(trj[, inds$xyz])
plot(pca$time, pca$pc[, 1], xlab = "Time", ylab = "PC1", type = "l", col = "blue")
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In min(x) : no non-missing arguments to min; returning Inf
4: In max(x) : no non-missing arguments to max; returning -Inf

Comments (4)

  1. Log in to comment