View source: R/ctwas_read_data.R
write_ld_Rf | R Documentation |
combine variant information associated with a LD R matrix .RDS file.
write_ld_Rf(ld_R_dir, outname = outname, outputdir = getwd())
ld_R_dir |
The directory that contains all ld R matrices. the ld R matrices should not have overlapping positions. |
outname |
a string, the output name |
outputdir |
a string, the directory to store output |
A vector of the 'ld_Rf' file names. The function will write one 'ld_Rf' file for each chromosome, so the vector has length 22. The 'ld_Rf' file has the following columns: chr region_name start stop RDS_file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.