Skip to contents

Micronix have different file formats which report sample positioning in different ways. This function makes it easy to look up that information.

Usage

get_position_column_by_sample(
  sample_type,
  file_type = "na",
  sample_file = "samples.json",
  app_file = "app.json"
)

Arguments

sample_type

A character string specifying the type of sample.

file_type

The file type (default: "na")

sample_file

A character string indicating the path to the samples.json file. (default: "samples.json")

control_file

A character string specifying the path to the controls.json file. (default: "app.json")

Value

The position column for that sample type.