powered by
initialize
create equidistant breaks
quantile breaks
sampling breaks
barplot showing the number of precursors per window
Table with window boundaries and statistics
summary of the binning process (see objectiveMS1Function for more details)
moves window start and end to region with as few as possible precursor masses
shows the generated DIA cycle
of masses
number of bins default 25
largest window size
smallest window size
mass precision default 2
mass precision
number of bins
default TRUE
size of window overlap default 1 m/z
array of masses
array with masses
data.frame with columns: - from (window start) - to (window end) - mid (window centre), width (window width) - counts expected number of precursors
list with optimization scores
data.frame with optimized windows
masses
MS1 masses
breaks
the breaks
nbins
digits
mass accuracy in result
asTable(overlap = 1)
make windows
error()
show error
optimizeWindows(digits = 1, maxbin = 15, plot = FALSE, overlap = 0)
optimizes the windows
quantile_breaks(digits = 2)
same number of MS1 in each window but might violate hard constraints
sampling_breaks(maxwindow = 150, minwindow = 5, digits = 2, plot = FALSE)
starts with quantile breaks but mixes with uniform data to satisfy had constraints
# NOT RUN { data(masses) cdsw <- Cdsw(masses) tmp <- cdsw$sampling_breaks(maxwindow=100,plot=TRUE) cdsw$plot() cdsw$asTable() cdsw$breaks cdsw$optimizeWindows() cdsw$showCycle() # }
Run the code above in your browser using DataLab