Convert raw mass spectrometry data to pseudoMS image

convert_ms_data2image(
  file_name,
  mz_range = c(70, 1000),
  rt_range = c(50, 1000),
  mz_pixel = 224,
  rt_pixel = 224,
  noise_threshold = 500,
  output_path = ".",
  threads = 3,
  mz_shift = FALSE,
  mean = 1.12361,
  sd = 4.076444,
  rt_shift = FALSE,
  rt_diff = 10,
  int_shift = FALSE,
  int_times = 1.1
)

Arguments

file_name

File name (mzXML or mzML)

mz_range

mz_range

rt_range

rt_range, second.

mz_pixel

mz pixel

rt_pixel

rt pixel

noise_threshold

noise_threshold

output_path

output_path, default is .

threads

threads, default is 3

mz_shift

mz shift or not.

mean

If shift mz, mean value.

sd

If shift mz, sd value.

rt_shift

Shift RT or not.

rt_diff

Rt shift.

int_shift

Shift intensity or not.

int_times

Time for intensity shift.

Value

A png image.

Author

Xiaotao Shen shenxt1990@outlook.com