compute.nominal.pv: Compute nominal P-value

Description Usage Arguments Value Author(s)

View source: R/sqtl.seeker.p.R

Description

Computes nominal P-value for the association between the genotype of a locus (e.g. SNP) and the splicing ratios of a gene.

Usage

1
2
3
4
5
6
7
8
compute.nominal.pv(
  geno.df,
  tre.mt,
  permute = FALSE,
  seed = 1,
  item.acc = 1e-14,
  eigen.tol = 1e-12
)

Arguments

geno.df

a data.frame of one row with the genotype information for each sample.

tre.mt

a matrix of splicing ratios (samples x transcripts).

permute

should the rows of the splicing ratio matrix be permuted. Default is FALSE.

seed

if permute is TRUE, value provided to set.seed. Default is 1.

item.acc

accuracy for P-value computation. Passed to pcqf function. Default is 1e-14. Minimum accuracy allowed is 1e-14.

eigen.tol

eigenvalues below this threshold are considered 0. Default is 1e-12.

Value

A data.frame containing a P-value for the association.

Author(s)

Diego Garrido-Martín


dgarrimar/sQTLseekeR2 documentation built on Nov. 22, 2021, 3:23 a.m.