to_csvs_geno: Combine markers map and genotypes dataframe

Description Usage Arguments Details Value

View source: R/to_csvs_geno.R

Description

Combine markers map and genotypes dataframe

Usage

1
to_csvs_geno(markers_map, genotypes)

Arguments

markers_map

Dataset with markers

genotypes

Dataset with phenotypes

Details

Markers map file should contain 3 columns:

- marker: Genomic marker Name (snp id for example) - chr: Chromosome - cm: Distance in centimorgans

Genotypes file must be a data frame containing at least a numeric "id" column and the markers in same order than markers map.

Value

DataFrame for genotypes mapped in CSVS format


pujana-lab/systematicQTL documentation built on June 15, 2020, 12:44 p.m.