R6 Peak Region Finder
SCPeakRegionFinder.Rd
R6 Peak Region Finder
R6 Peak Region Finder
Details
Think of it like managing all the stuff that needs to happen to find the peaks in the regions.
Public fields
run_time
how long did the process take
start_time
when did we start
stop_time
when did we start
peak_regions
SCPeakRegions object
sliding_region_size
how big are the sliding regions in data points
sliding_region_delta
how much space between sliding region starts
quantile_multiplier
how much to multiply quantile based cutoff by
n_point_region
how many points are there in the big tiled regions for quantile based cutoff
tiled_region_size
how wide are the tiled regions in data points
tiled_region_delta
how far in between each tiled region
region_percentile
??
peak_method
what method to extract peak center, height, area, etc
min_points
how many points wide does a peak have to be to get characterized
sample_id
what sample are we processing
zero_normalization
do we want to pretend to do normalization
Methods
Method remove_double_peaks_in_scans()
Check for the presence of two peaks with the same scan number in each region and remove them. Any regions with zero peaks left, remove the region.
Method indicate_high_frequency_sd()
Look for peaks with higher than expected frequency standard deviation.
Method add_offset()
Add an offset based on width in frequency space to m/z to describe how wide the peak is.
Method characterize_peaks()
Run the overall peak characterization from start to finish.
Method summarize()
Summarize everything for output to the zip file after completion.
Method new()
Make a new SCPeakRegionFinder object.
Usage
SCPeakRegionFinder$new(
sc_mzml = NULL,
sliding_region_size = 10,
sliding_region_delta = 1,
tiled_region_size = 1,
tiled_region_delta = 1,
region_percentile = 0.99,
offset_multiplier = 1,
frequency_multiplier = 400,
quantile_multiplier = 1.5,
n_point_region = 2000,
peak_method = "lm_weighted",
min_points = 4,
zero_normalization = FALSE
)
Arguments
sc_mzml
the SCMzml object to use (can be missing)
sliding_region_size
how wide to make the sliding regions in data points
sliding_region_delta
how far apart are the starting locations of the sliding regions
tiled_region_size
how wide are the tiled regions
tiled_region_delta
how far apart are the tiled reigons
region_percentile
cumulative percentile cutoff to use
offset_multiplier
what offset multiplier should be used
frequency_multiplier
how much to multiply frequency points to interval ranges
quantile_multiplier
how much to adjust the quantile cutoff by
n_point_region
how many points in the large tiled regions
peak_method
the peak characterization method to use (lm_weighted)
min_points
how many points to say there is a peak (4)
zero_normalization
don't actually do normalization (FALSE)