单体型软件LBLGXE用法
2017-01-09 18:55
351 查看
#file.rda文件中的变量名就是LBL函数的第一个参数LBL.data
#运行结果out.LBL有7个指标(BF,OR,CI.OR,freq,CI.freq,CI.lambda,CI.D),将它们都写入res.txt中
load("file.rda")
library(hapassoc)
library(dummies)
library(LBLGXE)
out.LBL <- LBL(LBL.data, numSNPs = 5, burn.in = 100, num.it = 1000)
write.table("$BF\n", file = "res.txt", quote = F, row.names = F, col.names = F, append = T)
write.table(out.LBL$BF, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$OR\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$OR, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.OR\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.OR, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$freq\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$freq, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.freq\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.freq, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.lambda\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.lambda, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.D\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.D, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
#运行结果out.LBL有7个指标(BF,OR,CI.OR,freq,CI.freq,CI.lambda,CI.D),将它们都写入res.txt中
load("file.rda")
library(hapassoc)
library(dummies)
library(LBLGXE)
out.LBL <- LBL(LBL.data, numSNPs = 5, burn.in = 100, num.it = 1000)
write.table("$BF\n", file = "res.txt", quote = F, row.names = F, col.names = F, append = T)
write.table(out.LBL$BF, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$OR\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$OR, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.OR\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.OR, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$freq\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$freq, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.freq\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.freq, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.lambda\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.lambda, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
write.table("\n\n$CI.D\n", file = "res.txt", quote = F, row.names = T, col.names = F, append = T)
write.table(out.LBL$CI.D, file = "res.txt", sep = "\t", quote = F, row.names = T, append = T)
相关文章推荐
- UCSD计算生物学——1.Introduction
- BLAST(2004版)本地化安装与使用,生成PSSM打分矩阵
- BLAST(2004版)本地化安装与使用,生成PSSM打分矩阵
- BLAST-用python实现
- BLAST-动态规划算法
- linux下GD-Graphics-library中的GD-1.18安装总结
- 基于机器学习和数据挖掘理论的生物信息学札记:自序
- Blat The BLAST-Like Alignment Tool
- 选择区域的检验tajimD
- 种群遗传学的多态性衡量参数
- Constructing module maps for integrated analysis of heterogeneous biological networks
- Windows 下R软件如何安装GO.db程序包
- 高通量测序的方式:单端测序、paired-end/mate-paired(PE/MP)测序 解释
- bowtie和bowtie2使用条件区别及用法
- bowtie和bowtie2用法详解
- BEDTools使用详细说明
- 昨天写的关于处理LBLGXE的一段R程序
- 生物信息学QuantumClone软件使用
- p-value&FPR以及q-value&FDR
- 基于jsp+servlet的个人博客系统