diplo_get: Dosage of parental diplotypes

View source: R/diplo_get.R

diplo_getR Documentation

Dosage of parental diplotypes

Description

Dosage of parental diplotypes

Usage

diplo_get(data, marker = NULL, id = NULL)

Arguments

data

Variable inheriting from class diallel_geno

marker

Name of marker

id

Name of individual

Details

Function can be used to get parental diplotype dosage estimates at a single marker for all individuals (in which case id should be NULL) or for a single individual for all markers (in which case marker should be NULL)

Value

Matrix of (id or markers) x parental diplotypes

Examples

## Not run: 
  diplo_example = diplo_get(data = diallel_example, 
                          marker = "solcap_snp_c2_25522")
  diplo_example = diplo_get(data = diallel_example, 
                          id = "W15263-8R")

## End(Not run)


jendelman/diaQTL documentation built on Jan. 27, 2024, 6:39 a.m.