Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lckarssen opened this issue Feb 11, 2016 · 0 comments
Open

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

lckarssen opened this issue Feb 11, 2016 · 0 comments

Comments

@lckarssen
Copy link
Contributor

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.

sahirbhatnagar added a commit that referenced this issue Feb 11, 2016
Various fixes, including fix for Issue #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant