importDNA: Function to import myHeritage, 23andMe, AncestryDNA, Illumina...

Description Usage Arguments Details Author(s) Examples

View source: R/importF.R

Description

Function to import myHeritage, 23andMe, AncestryDNA, Illumina personal genotypes

Usage

1
importDNA(myGenotypes, type = "myHeritage", asGRanges = FALSE)

Arguments

myGenotypes

(character) path to the genotype file

type

(character) info about the company used to genotype data: OPTIONS "myHeritage", "23andMe", "AncestryDNA", "Illumina"

asGRanges

(default FALSE) Result of the function is GRanges or data.frame object

Details

Import genotypes into R

Author(s)

Inga Patarcic

Examples

1
2
3
4
5
6
7
8
## Not run: 
# example myHeritage
library(GenomicRanges)
library(stringr)
myGenotypes="D:/GoogleDrive/Projects/myDNA/Data/MyHeritage/MyHeritage_raw_dna_dataInga/MyHeritage_raw_dna_data.csv"
myDNA <- importDNA(myGenotypes)

## End(Not run)

IngaPa/myDNA documentation built on Oct. 30, 2019, 7:22 p.m.