sort_coordinates_bash: Sort coordinates: bash

View source: R/sort_coordinates_bash.R

sort_coordinates_bashR Documentation

Sort coordinates: bash

Description

Support function for sort_coordinates.

Usage

sort_coordinates_bash(
  target_path,
  chrom_col,
  start_col,
  end_col = start_col,
  comment_char = NULL,
  save_path = NULL,
  outputs = c("command", "path", "data"),
  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.

comment_char

A single character which, when present as the first character in a line, indicates that the line is to be omitted from indexing.

save_path

File to save the results to.

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.

verbose

Print messages.


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