# NOT RUN {
# prot is the phenotype
# tag features data specifics, e.g., HLA
prot <- Sys.getenv("prot")
tag <- Sys.getenv("tag")
p <- read.delim(paste0("work/",prot,tag,".p"),as.is=TRUE)
chrs <- with(p,unique(Chrom))
for(chr in chrs)
{
ps <- subset(p,Chrom==chr)
row.names(ps) <- 1:nrow(ps)
pp(ps, 1)
}
# }
Run the code above in your browser using DataLab