gwaa.to.bed | R Documentation |
Returns a file containing GWAS p-values for a region in bed format. It can be further used as UCSC Genome Browser custom track.
gwaa.to.bed(chr, range, gwas, fname = "output.bed")
chr |
chromosome to be considered |
range |
a vector of genomic ranges |
gwas |
a |
fname |
name of the output file. By default: output.bed |
a bed file with -log10 of corrected p-value ("Pc1df")
Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>
## Not run:
chr <- 36
range <- c(14e6,24e6)
gwas <- data.qc1
gwas.region.bed(chr, range, gwas, fname="my_output.bed")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.