Skip to content

RVPedigree() outputs the same p-value for each region #4

@lckarssen

Description

@lckarssen

When running the RVPedigree() function on several regions, the output () for each region is the same. See for example section 4 (page 12) in the vignette:

gwresults <- RVPedigree(method="VCC1",
                        y=pheno,
                        X=covar,
                        Phi=rel.mat,
                        regions=genes,
                        filename=geno.file,
                        type='ped',
                        pvalThreshold=1
                        )
## Estimating null model...
## Null model estimated.
## Starting association analysis of the 3 regions...
## Warning in snpStats::read.pedfile(file = filename, snps = snps2out): 2 loci were monomorphic
## Warning in VCC1.region(y = y, X = X, Phi = Phi, type = type, filename = filename, : No genotypes available in the region from 9050050 to 9075000 on chromosome 20

gwresults
##         Score.Test  P.value    N.Markers
## Gene_1  1768.63     0.3195559  4
## Gene_2  1768.63     0.3195559  6

At first glance this seems to happen regardless of the method (ASKAT, VCC1, ...) used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions