sort_coordinates_datatable: Sort coordinates: data.table

View source: R/sort_coordinates_datatable.R

sort_coordinates_datatableR Documentation

Sort coordinates: data.table

Description

Support function for sort_coordinates.

Usage

sort_coordinates_datatable(
  target_path,
  chrom_col,
  start_col,
  end_col = start_col,
  outputs = c("command", "path", "data"),
  skip = "__auto__",
  save_path = NULL,
  verbose = TRUE
)

Arguments

target_path

Path to full GWAS/QTL summary statistics file.

chrom_col

Name of the chromosome column in the target_path file.

start_col

Name of the genomic start position column in the target_path file.

end_col

Name of the genomic end position column in the target_path file.

outputs
  • "command"Text string of the command (without executing it.)

  • "path"Path to the saved data file.

  • "data"The resulting data in data.table format.

save_path

File to save the results to.

verbose

Print messages.


RajLabMSSM/echotabix documentation built on Nov. 21, 2023, 8:02 a.m.