qtl_dataframe: Concatenate data tables on genotypes and phenotypes into a...

Description Usage Arguments Value

View source: R/qtl_dataframe.R

Description

Match datatables for phenotypes and genotypes for a set of lines, and combine these into a single dataframe that r/qtl can read.

Usage

1
2
3
4
5
6
qtl_dataframe(
  phenotypes,
  genotypes,
  phenotype_id_column = 1,
  genotype_id_column = 1
)

Arguments

phenotypes

A table of phenotype data.

genotypes

A table of genotype data, including marker information in the first two rows.

phenotype_id_column

The column in phenotype indicating line names.

genotype_id_column

The column in genotype indicating line names to match up with those for the phenotype table.

Value

# a dataframe of the format for importing into R/qtl.


ellisztamas/arghqtl documentation built on March 18, 2021, 9:44 p.m.