ReadSample: ReadSample

Description Usage Arguments Details Value Author(s) Source Examples

View source: R/ReadSample.R

Description

ReadSample: Read data.

Usage

1
2
ReadSample(RawFile = "Test.txt", skip = 0, LCR = FALSE, PFB = NULL,
  chr = NA, SNPList = NULL)

Arguments

RawFile:

The raw data files, default = Test.txt.

Skip:

Integer, the number of lines of the data file to skip before beginning to read data, default = 0.

LCR:

List low copy repeat regions, list of SNPs that should be removed, default = FALSE.

PFB:

Vector, population frequency 0 to 1 for each SNP in the array, default = NULL.

Chr:

Character, select a specific chromosome to be analyzed, default = NA.

SNPList:

Getting Chr. and Position from another source than the RawFile - input should be the full path of the SNPList with columns: Name, Chr, amd Position. Any positions from the RawFile will be erased. A PFB-column is also allowed but will be overwritten by the PFB-parameter or exchanged with 0.5

Details

Specifically designed to handle noisy data from amplified DNA on phenylketonuria (PKU) cards. The function is a pipeline using many subfunctions.

Value

Return data in a data frame.

Author(s)

Marcelo Bertalan, Louise K. Hoeffding.

Source

http://biopsych.dk/iPsychCNV

Examples

1
Unknown.

mbertalan/iPsychCNV documentation built on June 30, 2017, 2:02 a.m.