QTL_BetaBin2: QTL_BetaBin2

Description Usage Arguments

Description

Same as QTL_BetaBin except sizeFactor estimated by Median of ratio method was used to scale library size instead of total coverage.

Usage

1
2
3
4
QTL_BetaBin2(MeRIPdata, vcf_file, BSgenome = BSgenome.Hsapiens.UCSC.hg19,
  testWindow = 1e+05, Chromosome, Range = NULL, Covariates = NULL,
  AdjustGC = TRUE, PCsToInclude = 0, normalizeGenotype = FALSE,
  thread = 1)

Arguments

MeRIPdata

The MeRIP.Peak object

vcf_file

The vcf file for genotype. The chromosome position must be sorted!!

BSgenome

The BSgenome object. This needs to match the genome version of the gtf files.

testWindow

Integer. Test SNPs in <testWindow> bp window flanking the peak.

Chromosome

The chromsome to run QTL test.

Range

The position range on a chromosome to test.

Covariates

The matrix for covariates to be included in the test.

AdjustGC

Logic. Choose whether explicitly adjust GC bias.

normalizeGenotype

Logic. Choose whether genotype is normalized to mean = 0, var = 1 before regression.


scottzijiezhang/MeRIPtools documentation built on March 27, 2021, 3:04 a.m.