Concat_files: Combines data from files produced by 'LDnClusteringEL'

View source: R/Concat_files.R

Concat_filesR Documentation

Combines data from files produced by LDnClusteringEL

Description

LDnClusteringEL produces one .rds file for each chromosome. This function concatenates the data from each .rds file into a single file

Usage

Concat_files(LDnCl_out)

Arguments

LDnCl_out

Path to folder containing output from LDnClusteringEL

Value

Returns concatenated file with the same data as in the individual .rds files. Can be used with e.g. emmax_group as with output produced by LDnClusteringEL

Author(s)

Petri Kemppainen petrikemppainen2@gmail.com, zitong.li lizitong1985@gmail.com

References

Kemppainen, P., Knight, C. G., Sarma, D. K., Hlaing, T., Prakash, A., Maung Maung, Y. N., Walton, C. (2015). Linkage disequilibrium network analysis (LDna) gives a global view of chromosomal inversions, local adaptation and geographic structure. Molecular Ecology Resources, 15(5), 1031-1045. https://doi.org/10.1111/1755-0998.12369

Li, Z., Kemppainen, P., Rastas, P., Merila, J. Linkage disequilibrium clustering-based approach for association mapping with tightly linked genome-wide data. Accepted to Molecular Ecology Resources.

Examples

## Not run: 
LDnCL_combined <- Concat_files("path/to/rds/files")

## End(Not run)                   

petrikemppainen/LDna documentation built on April 14, 2024, 6:37 p.m.