xGRsort | R Documentation |
xGRsort
is supposed to sort by chromosomes/seqnames, start and
end coordinates of the intervals.
xGRsort(data)
data |
input genomic regions (GR). GR should be provided as a vector in the format of 'chrN:start-end', where N is either 1-22 or X, start (or end) is genomic positional number; for example, 'chr1:13-20' |
index
xGR
RData.location <- "http://galahad.well.ox.ac.uk/bigdata" ## Not run: # a) provide the genomic regions ## load ImmunoBase ImmunoBase <- xRDataLoader(RData.customised='ImmunoBase', RData.location=RData.location) ## get lead SNPs reported in AS GWAS and their significance info (p-values) gr <- ImmunoBase$AS$variant cse <- xGRcse(gr) # b) sort index ind <- xGRsort(cse) data <- cse[ind] ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.