selectRefSp: Automated selection of a reference spectrum

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mQTL.R

Description

The selection of reference spectrum among all spectrums is based on the highest similarity to all other spectra

Usage

1

Arguments

X

spectra

step

used to scale spectral regions down to specific bin size

Value

returns the index of selected spectrum

Author(s)

Lyamine Hedjazi

See Also

alignSp

Examples

1
2
3
4
5
6
7
8
# 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)

mQTL documentation built on May 29, 2017, 9:46 a.m.