Skip to contents

gives the area of the peak based on integrating the model bits and the sides

Usage

integration_based_area(
  mz_data,
  int_data,
  full_peak_loc,
  model_peak_loc,
  model_coeff,
  n_point = 100,
  log_transform = "log"
)

Arguments

mz_data

peak mz values

int_data

peak intensity values

full_peak_loc

indices defining the full peak

model_peak_loc

indices defining the model peak

model_coeff

the model of the peak

n_point

number of points for integration of the model section

log_transform

which log transformation was used