File size: 1,048 Bytes
9aaa76b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fct_peakFuzzifier.r
\name{createFuzzyVectorUnit}
\alias{createFuzzyVectorUnit}
\title{Experimental binning}
\usage{
createFuzzyVectorUnit(massStart, massEnd, chunksize, massList)
}
\arguments{
\item{massStart}{beginning of mass range (as of now, must be smaller than smallest mass)}

\item{massEnd}{end of mass range (as of now, must be smaller than smallest mass)}

\item{chunksize}{size of bins}

\item{massList}{list of mass vectors (eg list(1:10, 1:10))}
}
\value{
matrix where rows are samples and columns are variables (m/z preojections)
}
\description{
Experimental binning
}
\examples{
\dontrun{
masses <- list(Sample_A = c(5000,6000,7000), 
Sample_B = c(5000,6010,7005), Sample_C = c(5000,6010,7005))  
intensities <- list(Sample_A = rep(1, 3), 
Sample_B = rep(1, 3),
 Sample_C = rep(1, 3))
zx <- binnR(massStart = 3000,
            massEnd = 15000,
            ppm = 500,
            massList = masses,
            intensityList = intensities)
            }
}