Description Usage Arguments Value Author(s) Examples
View source: R/shapeit_split.R
Split a single dataset (.haps/.sample) by chromossome into multiple files.
1  | shapeit_split(haps_file, output_dir, output_prefix)
 | 
haps_file | 
 Character. File name (with or without .haps extension).  | 
output_dir | 
 Character. Desired folder to outputs. Default set to the current folder.  | 
output_prefix | 
 Character. Desired name to output files after "chrX", where "X" stands by the chromosome ID. Default set to none.  | 
Multiple files from dataset splitted by chromosome unique IDs.
CainĂ£ Max Couto da Silva
1 2 3 4 5 6 7 8 9  | ## Not run: 
dataset <- "merged.haps" # or just "merged" without .haps extension
split_haps(haps_file = dataset, output_dir = "splitted_files/", output_prefix = "_phased")
# Then, multiple files splitted by chromosomes will be created at the folder "splitted_files",
named "chrID_phased.EXT", where ID is the unique chromosome ID, and EXT is the correspoding extension (.haps/.sample)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.