plInfo: Constructor for PlInfoC class

Description Usage Arguments Value Author(s) Examples

Description

Populates an PlInfoC object from a given plink bed filename stem (i.e. exclude extension name)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plInfo(pl_info, bedstem, db_setup)

## S4 method for signature 'PlInfoC,character,logical'
plInfo(pl_info, bedstem, db_setup)

## S4 method for signature 'PlInfoC,character,missing'
plInfo(pl_info, bedstem, db_setup)

## S4 method for signature 'missing,character,logical'
plInfo(pl_info, bedstem, db_setup)

## S4 method for signature 'missing,character,missing'
plInfo(pl_info, bedstem, db_setup)

Arguments

pl_info

a PlInfoC object, possibly empty.

bedstem

path of bed file excluding extension name

db_setup

logical. Whether to setup SQLite database for .bim, .fam and .frq files.

Value

a PlInfoC object

Author(s)

Kaiyin Zhong, Fan Liu

Examples

1
2
3
4
5
6
7
8
## Not run: 
		pl_info = plInfo(.PlInfoC(), "mmp13", db_setup = TRUE)
		isSetup(pl_info)
		bim_ff = getQuery(sqliteFilePl(pl_info), "select * from bim")
		fam_ff = getQuery(sqliteFilePl(pl_info), "select * from fam")
		frq_ff = getQuery(sqliteFilePl(pl_info), "select * from frq")

## End(Not run)

CollapsABEL documentation built on May 1, 2019, 7:28 p.m.