-
Notifications
You must be signed in to change notification settings - Fork 53
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
number of trans-qtl tests #173
Comments
The default |
I used --return_dense instead of --pval_threshold to 1 and got the following error. When I ran trans-qtl with pval_treshold, it worked. I'm not sure how to fix this error /tensorqtl/trans.py:188: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use
|
Hello,
I calculated about 24.8 M possible trans qtl tests but got 18.8 M trans-qtl test results when I ran the trans-QTL mapping with --pval_threshold 1. I'm wondering why tensor-qtl ran fewer trans-qtl tests. Does tensorqtl do additional filtering? or did I estimate the number of possible trans-qtl tests wrong?
same.chr.cis.gene.snp <- unnest(gene.TSS, col = snp.table) %>% mutate(same.chr = gene.Chr == snp.CHROM, dist.gene.snp.window = snp.POS >= gene.TSS.start - 500000 & snp.POS <= gene.TSS.end + 500000) %>% filter(same.chr) %>% filter(dist.gene.snp.window)
same.chr.trans.gene.snp <- unnest(gene.TSS, col = snp.table) %>% mutate(same.chr = gene.Chr == snp.CHROM, dist.gene.snp.window = snp.POS >= gene.TSS.start - 500000 & snp.POS <= gene.TSS.end + 500000) %>% filter(same.chr) %>% filter(!dist.gene.snp.window)
dif.chr.trans.gene.snp <- unnest(gene.TSS, col = snp.table) %>% mutate(same.chr = gene.Chr == snp.CHROM, dist.gene.snp.window = snp.POS >= gene.TSS.start - 500000 & snp.POS <= gene.TSS.end + 500000) %>% filter(!same.chr)
all.trans.gene.snp <- bind_rows(same.chr.trans.gene.snp, dif.chr.trans.gene.snp)
The text was updated successfully, but these errors were encountered: