powered by
The selection of reference spectrum among all spectrums is based on the highest similarity to all other spectra
selectRefSp(X, step)
spectra
used to scale spectral regions down to specific bin size
returns the index of selected spectrum
alignSp
# NOT RUN { # Data Sp=matrix(rnorm(10*13454,mean=0,sd=1), nrow=10,ncol=13454) # Reference spectrum selection step=0.02 # Recursion step (default 0.02) index<-selectRefSp(Sp,step) # }
Run the code above in your browser using DataLab