Closed afrendeiro closed 9 years ago
# R script for Peak Model
p <- c(0.0294535437152,...)
m <- c(0.0269445604449,...)
ycorr <- c(-0.000190275154849,...)
xcorr <- c(-500.0,-498.998998999,...)
altd <- c(88)
x <- seq.int((length(p)-1)/2*-1,(length(p)-1)/2)
readLength = 100 # read from annotation sheet
NSC = abs(max(ycorr)) / abs(min(ycorr))
RSC = (max(ycorr) - min(ycorr)) / (ycorr[500 + readLength] - min(ycorr))
# max(ycorr) should be altd
in Landt et al, 2012