humarray: Simplify Analysis and Annotation of Human Microarray Datasets

Utilises GRanges, data.frame or IRanges objects. Integrates gene annotation for ImmunoChip (or your custom chip) with function calls. Intuitive wrappers for annotation lookup (gene lists, exon ranges, etc) and conversion (e.g, between build 36 and 37 coordinates). Conversion between ensembl and HGNC gene ids, chip ids to rs-ids for SNP-arrays. Retrieval of chromosome and position for gene, band or SNP-ids, or reverse lookup. Simulation functions for ranges objects.

Install the latest version of this package by entering the following in R:
AuthorNicholas Cooper
Date of publication2017-01-09 09:49:50
MaintainerNicholas Cooper <>
LicenseGPL (>= 2)

View on CRAN

Man pages

AB: Returns the A and B allele for SNP ids

allele-methods: Access alleles for ChipInfo

as: As("ChipInfo", "GRanges")

Band: Retrieve the cytoband(s) for snp ids, genes or locations

Band.gene: Retrieve the cytoband(s) for genes labels

Band.pos: Find the cytoband(s) overlapping a chromosome location

chipId-methods: Access chip-ids for ChipInfo

ChipInfo: Constructor (wrapper) for ChipInfo annotation object

ChipInfo-class: Class to represent SNP annotation for a microarray

ChipInfo-methods: rownames method for ChipInfo objects

ChipInfo-subset: Subset ChipInfo by chromosome

chip-methods: Retrieve the Chip name for ChipInfo Retrieve current ChipInfo annotation object

Chr: Find chromosome for SNP ids, gene name or band

chrIndices-methods: ~~ Methods for Function 'chrIndices' ~~

chrInfo-methods: ~~ Methods for Function 'chrInfo' ~~

chrm-methods: Chromosome method for RangedData objects

chrNames-methods: ~~ Methods for Function 'chrNames' ~~

chrNums: Extract chromosome numbers from GRanges/RangedData

chrSelect: Select chromosome subset of GRanges or RangedData object

chrSel-methods: Select chromosome subset for ranged objects

coerce_--methods: ~~ Methods for Function 'coerce<-' ~~

coerce-methods: ~~ Methods for Function 'coerce' ~~

compact.gene.list: Make a compact version of gene annotation

conv.36.37: Convert from build 36 to build 37 SNP coordinates

conv.37.36: Convert from build 37 to build 36 SNP coordinates

conv.37.38: Convert from build 37 to build 38 SNP coordinates

conv.38.37: Convert from build 38 to build 37 SNP coordinates Convert a chr:pos1-pos2 vector to a matrix

conv-methods: Convert ChipInfo between build 36/37/38 coordinates Convert a data.frame with positional information to GRanges Convert a data.frame with positional information to...

endSnp: Find closest SNPs to the ends of ranges Convert ensembl ids to HGNC gene ids

expand.nsnp: Expand genomic locations to the ranges covering the 'n'...

extraColumnSlotNames2-methods: ~~ Methods for Function 'extraColumnSlotNames2' ~~

force.chr.pos: Force a valid genomic range, given the inputted coordinates

Gene.pos: Find the gene(s) overlapping a chromosome location Convert gene ids to ensembl ids

get.centromere.locs: Return Centromere locations across the genome

get.chr.lens: Get chromosome lengths from build database

get.cyto: Return Cytoband/Karyotype locations across the genome

get.exon.annot: Get exon names and locations from UCSC

get.gene.annot: Get human gene names and locations from biomart

get.genic.subset: Obtain subset of ranged object overlapping human genes

get.GO.for.genes: Retreive GO terms from biomart for a given gene list

get.immunobase.snps: Download GWAS hits from

get.immunog.locs: Retrieve locations of Immunoglobin regions across the genome

get.nearby.snp.lists: Obtain nearby SNP-lists within a recombination window Get HapMap recombination rates for hg18 (build 36)

get.t1d.regions: Obtain a listing of known T1D associated genomic regions

get.t1d.subset: Obtain subset of ranged object overlapping known T1D...

get.telomere.locs: Derive Telomere locations across the genome

GRanges-methods: rownames method for GRanges objects

humarray-internal: Internal humarray Functions

humarray-package: Simplify Analysis and Annotation of Human Microarray Datasets

iChipRegionsB36: Autoimmune enriched regions as mapped on ImmunoChip Order rs-ids or ichip ids by chrosome and position Convert from chip ID labels to dbSNP rs-ids

ImmunoChipB37: ImmunoChip annotation object (built-in)

invGRanges: Invert a ranged object Select the empty space between ranges...

in.window: Select all ranges lying within a chromosome window

lambda_1000: Normalize Lambda inflation factors to specific case-control...

makeGRanges: Wrapper to construct GRanges object from chr,pos or...

manifest: Convert from chip/rs-ids to manifest chip ID labels Meta-analysis using odds ratio and standard error from 2...

nearest.gene: Retrieve the 'n' closest GENE labels or positions near...

nearest.snp: Retrieve the 'n' closest SNP ids or positions near specified...

plotGeneAnnot: Plot genes to annotate figures with genomic axes

plot-methods: Plot method for GRanges objects

plotRanges: Plot the locations specified in a GRanges or RangedData...

Pos: Find the chromosome position for SNP ids, gene name or band Find the chromosome, start and end position for cytoband...

Pos.gene: Find the chromosome, start and end position for gene names

QC-methods: Access quality control pass or fail codes for ChipInfo Convert RangedData/GRanges to a data.frame Convert GRanges/RangedData to chr:pos1-pos2 vector

rangeSnp: Find closest SNPs to the starts and ends of ranges

recomWindow: Extend an interval or SNP by distance in centimorgans...

rownames_--methods: ~~ Methods for Function 'rownames<-' ~~

rranges: Simulate a GRanges or RangedData object Access rs-ids for ChipInfo Convert from dbSNP rs-ids to chip ID labels

select.autosomes: Select ranges only within the 22 autosomes in a ranged data... Change the chromosome labels in a RangedData or GRanges... Change the chromosome labels in a RangedData or GRanges...

showChipInfo: Display a ChipInfo object Retrieve SNP ids or positions in specified range

startSnp: Find closest SNPs to the starts of ranges

ucsc-methods: Retrieve the UCSC build for a ChipInfo object


A1 Man page
A1<- Man page
A1<-,ChipInfo-method Man page
A1,ChipInfo-method Man page
A2 Man page
A2<- Man page
A2<-,ChipInfo-method Man page
A2,ChipInfo-method Man page
AB Man page
add.trail Man page
as Man page
Band Man page
Band.gene Man page
Band.pos Man page
chip Man page
chip,ChipInfo-method Man page
chipId Man page
chipId,ChipInfo-method Man page
ChipInfo Man page
[[,ChipInfo,ANY,ANY-method Man page
ChipInfo-class Man page
ChipInfo-method Man page Man page
Chr Man page
chr2 Man page
chrGS Man page
chrIndices2 Man page
chrIndicesGS Man page
chrIndices-methods Man page
chrIndices,RangedData-method Man page
chrInfo2 Man page
chrInfoGS Man page
chrInfo-methods Man page
chrInfo,RangedData-method Man page
chrm Man page
chrm,ChipInfo-method Man page
chrm,GRanges-method Man page
chrm,RangedData-method Man page
chrNames2 Man page
chrNames-methods Man page
chrNames,RangedData-method Man page Man page
chrNums Man page Man page
chrOrder2 Man page
chrPartitioning2 Man page
chrSel Man page
chrSel,ChipInfo-method Man page
chrSelect Man page
chrSel,GRanges-method Man page
chrSel,RangedData-method Man page
clean.snp.ids Man page
coerce,ChipInfo,data.frame-method Man page
coerce<-,ChipInfo,GRanges-method Man page
coerce,ChipInfo,GRanges-method Man page
coerce,ChipInfo,RangedData-method Man page
coerce,data.frame,ChipInfo-method Man page
coerce,data.frame,GRanges-method Man page
coerce,data.frame,RangedData-method Man page
coerce,GRanges,ChipInfo-method Man page
coerce,GRanges,data.frame-method Man page
coerce<--methods Man page
coerce-methods Man page
coerce,RangedData,ChipInfo-method Man page
coerce,RangedData,data.frame-method Man page
comma Man page
compact.gene.list Man page
conv.36.37 Man page
conv.37.36 Man page
conv.37.38 Man page
conv.38.37 Man page Man page
convTo36 Man page
convTo36,ChipInfo-method Man page
convTo37 Man page
convTo37,ChipInfo-method Man page
convTo38 Man page
convTo38,ChipInfo-method Man page
Cor Man page Man page Man page
dim,ChipInfo-method Man page Man page
egSymb Man page
emd.rmv Man page
endSnp Man page Man page
expand.nsnp Man page
extraColumnSlotNames2 Man page
extraColumnSlotNames2,ANY-method Man page
extraColumnSlotNames2-methods Man page
extraColumnSlots2 Man page
finitize Man page
force.chr.pos Man page Man page
Gene.pos Man page Man page
get.centromere.locs Man page
get.chr.lens Man page
get.cyto Man page
get.exon.annot Man page
get.gene.annot Man page
get.genic.subset Man page
get.GO.for.genes Man page
get.immunobase.snps Man page
get.immunog.locs Man page
get.nearby.snp.lists Man page Man page
get.t1d.regions Man page
get.t1d.subset Man page
get.telomere.locs Man page
GRanges Man page
GRanges-method Man page
hard.coded.conv Man page
hg18ToHg19 Man page
hg19ToHg18 Man page
hg19ToHg38 Man page
hg38ToHg19 Man page
humarray Man page
humarray-package Man page
iChipRegionsB36 Man page Man page Man page
immunobase.has.changed Man page
ImmunoChipB37 Man page
initialize,ChipInfo-method Man page
invGRanges Man page
in.window Man page
l10 Man page
lambda_1000 Man page
length,ChipInfo-method Man page
make.divisor Man page
makeGRanges Man page
.makeNakedMatFromChipInfo Man page
makePrettyMatrixForCompactPrinting2 Man page
manifest Man page
maxna Man page
meanna Man page
medianna Man page Man page
minna Man page
nearest.gene Man page
nearest.snp Man page
order.chr Man page
pduplicated Man page
plotdf Man page
plotGeneAnnot Man page
plot.get.area Man page
plot,GRanges,ANY-method Man page
plot,RangedData,ANY-method Man page
plotRanges Man page
Pos Man page Man page
Pos.gene Man page
print,ChipInfo-method Man page
pt2 Man page
QCcode Man page
QCcode<- Man page
QCcode<-,ChipInfo-method Man page
QCcode,ChipInfo-method Man page
QCfail Man page
QCfail,ChipInfo-method Man page
QCpass Man page
QCpass,ChipInfo-method Man page
RangedData Man page
RangedData-method Man page Man page Man page
rangeSnp Man page
recomWindow Man page
rmv.trail Man page
.rownames3 Man page
rownames,ChipInfo-method Man page
rownames<-,GRanges-method Man page
rownames,GRanges-method Man page
rownames<--methods Man page
rranges Man page
rsampid Man page Man page,ChipInfo-method Man page
rsnpid Man page Man page
sdna Man page
select.autosomes Man page Man page Man page
showChipInfo Man page
show,ChipInfo-method Man page Man page
sort.chr Man page
sortna Man page
startSnp Man page
substitute.36s Man page
sumna Man page
TGOGR Man page
TGORD Man page
tidy.extra.chr Man page
toGenomeOrder2 Man page
ucsc Man page
ucsc,ChipInfo-method Man page
ucsc.sanitizer Man page
.updateAllele Man page
validate.dir.for Man page


R/humarray_datasets.R R/humarray.R
man/expand.nsnp.Rd man/get.chr.lens.Rd man/endSnp.Rd man/Band.gene.Rd man/chrIndices-methods.Rd man/Pos.gene.Rd man/conv.37.38.Rd man/startSnp.Rd man/plot-methods.Rd man/lambda_1000.Rd man/ man/recomWindow.Rd man/ man/ man/chrSel-methods.Rd man/select.autosomes.Rd man/ man/ man/ucsc-methods.Rd man/Band.pos.Rd man/get.nearby.snp.lists.Rd man/get.t1d.regions.Rd man/ChipInfo-methods.Rd man/chrNames-methods.Rd man/makeGRanges.Rd man/get.GO.for.genes.Rd man/nearest.snp.Rd man/iChipRegionsB36.Rd man/chrm-methods.Rd man/Pos.Rd man/chrInfo-methods.Rd man/ man/conv.38.37.Rd man/GRanges-methods.Rd man/nearest.gene.Rd man/showChipInfo.Rd man/ man/get.t1d.subset.Rd man/get.centromere.locs.Rd man/ man/get.cyto.Rd man/compact.gene.list.Rd man/Gene.pos.Rd man/extraColumnSlotNames2-methods.Rd man/ImmunoChipB37.Rd man/conv.37.36.Rd man/ man/ man/ChipInfo-subset.Rd man/QC-methods.Rd man/ man/chipId-methods.Rd man/humarray-package.Rd man/ man/humarray-internal.Rd man/invGRanges.Rd man/conv-methods.Rd man/chrNums.Rd man/conv.36.37.Rd man/rranges.Rd man/coerce-methods.Rd man/force.chr.pos.Rd man/ man/ man/in.window.Rd man/rangeSnp.Rd man/ man/rownames_--methods.Rd man/get.gene.annot.Rd man/get.immunog.locs.Rd man/get.exon.annot.Rd man/allele-methods.Rd man/get.telomere.locs.Rd man/Chr.Rd man/ChipInfo-class.Rd man/AB.Rd man/get.immunobase.snps.Rd man/chip-methods.Rd man/ man/get.genic.subset.Rd man/manifest.Rd man/ man/Band.Rd man/coerce_--methods.Rd man/ man/ChipInfo.Rd man/plotRanges.Rd man/chrSelect.Rd man/as.Rd man/plotGeneAnnot.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.