taskBedsPlinkOut: Prepare shifted bed files for current task.

Description Usage Arguments

View source: R/taskBedsPlinkOut.R

Description

Read p values from the initial GWAS, get a list of SNPs by the given p value threshold, extract the genotypes of these SNPs and create a new bed file, then generate shifted bed files from this new bed file.

Usage

1
2
taskBedsPlinkOut(hub, taskName, plinkOutFile, pvalThresh = 0.05,
  nMinShift = 1, nMaxShift)

Arguments

hub

Environment. QCDH data hub.

taskName

Character. Name of the task.

plinkOutFile

Character. PLINK assoc file of the initial GWAS.

pvalThresh

Numeric. p value threshold for extraction of SNPs.


kindlychung/CollapsABEL documentation built on May 20, 2019, 9:57 a.m.