Usage
coreTDT_geneset(samplePed, controlInf, useControlMAF = TRUE, maf.threshold = 1,
qc.proportion = 0.8, geneList = c(),
outputFile = "coreTDT_analysis.out",
chrX = FALSE,writeFile=FALSE)
coreTDT_single(ped, maf.threshold = 1, qc.proportion = 0.8,
geneid = NA,control.maf = NULL)
Arguments
samplePed
plink file to input genetype informations, ref to PLINK recodeA
controlInf
Files form ATAV,contain information about variants,(evs dataset used)
useControlMAF
logical, if true, remove the variants with control MAF >= maf.threshold, else use parents MAF
maf.threshold
The allowed maximum of MAF that variants will be used in computation
qc.proportion
variants that have more than qc.proportion families with enough coverage will be used in computation
geneList
a vector containing gene names that used to analysis
outputFile
output file name
chrX
logical, if true, analyse chromosome X, not activated yet
writeFile
logical, if true, write the results to outputFile
ped
contain the genotype information for all samples,assume m families and n snps, 3m * n matrix, each column represents a variant, coded by 0/1/2 (number of alternative alleles);each row represents a sample, the first m rows are for child,the second m rows are for mother,the last m rows are for father
geneid
character, gene name
control.maf
vector contain the MAF of each variant in controls