Learn R Programming

⚠️There's a newer version (1.2) of this package.Take me there.

humarray (version 1.1)

Simplify Analysis and Annotation of Human Microarray Datasets

Description

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.

Copy Link

Version

Install

install.packages('humarray')

Monthly Downloads

10

Version

1.1

License

GPL (>= 2)

Maintainer

Nicholas Cooper

Last Published

January 9th, 2017

Functions in humarray (1.1)

as

As("ChipInfo", "GRanges")
A1

Access alleles for ChipInfo
Band.gene

Retrieve the cytoband(s) for genes labels
AB

Returns the A and B allele for SNP ids
chipId

Access chip-ids for ChipInfo
ChipInfo-class

Class to represent SNP annotation for a microarray
Band

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

Find the cytoband(s) overlapping a chromosome location
chip

Retrieve the Chip name for ChipInfo
chip.support

Retrieve current ChipInfo annotation object
chrIndices-methods

~~ Methods for Function chrIndices ~~
Chr

Find chromosome for SNP ids, gene name or band
chrm

Chromosome method for RangedData objects
ChipInfo

Constructor (wrapper) for ChipInfo annotation object
chrInfo-methods

~~ Methods for Function chrInfo ~~
chrNums

Extract chromosome numbers from GRanges/RangedData
chrNames-methods

~~ Methods for Function chrNames ~~
rownames,ChipInfo-method

rownames method for ChipInfo objects
[[,ChipInfo,ANY,ANY-method

Subset ChipInfo by chromosome
chrSel

Select chromosome subset for ranged objects
conv.38.37

Convert from build 38 to build 37 SNP coordinates
df.to.GRanges

Convert a data.frame with positional information to GRanges
convert.textpos.to.data

Convert a chr:pos1-pos2 vector to a matrix
get.immunobase.snps

Download GWAS hits from t1dbase.org
get.immunog.locs

Retrieve locations of Immunoglobin regions across the genome
df.to.ranged

Convert a data.frame with positional information to RangedData/GRanges
chrSelect

Select chromosome subset of GRanges or RangedData object
QCcode

Access quality control pass or fail codes for ChipInfo
coerce<--methods

~~ Methods for Function coerce<- ~~
get.exon.annot

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

Get human gene names and locations from biomart
ids.by.pos

Order rs-ids or ichip ids by chrosome and position
ImmunoChipB37

ImmunoChip annotation object (built-in)
recomWindow

Extend an interval or SNP by distance in centimorgans (recombination distance)
invGRanges

Invert a ranged object Select the empty space between ranges for the whole genome, for instance you may want to overlap with everything NOT in a set of ranges.
in.window

Select all ranges lying within a chromosome window
coerce-methods

~~ Methods for Function coerce ~~
force.chr.pos

Force a valid genomic range, given the inputted coordinates
compact.gene.list

Make a compact version of gene annotation
Gene.pos

Find the gene(s) overlapping a chromosome location
get.genic.subset

Obtain subset of ranged object overlapping human genes
manifest

Convert from chip/rs-ids to manifest chip ID labels
id.to.rs

Convert from chip ID labels to dbSNP rs-ids
get.GO.for.genes

Retreive GO terms from biomart for a given gene list
rownames<--methods

~~ Methods for Function rownames<- ~~
iChipRegionsB36

Autoimmune enriched regions as mapped on ImmunoChip
ENS.to.GENE

Convert ensembl ids to HGNC gene ids
endSnp

Find closest SNPs to the ends of ranges
get.recombination.map

Get HapMap recombination rates for hg18 (build 36)
get.nearby.snp.lists

Obtain nearby SNP-lists within a recombination window
get.telomere.locs

Derive Telomere locations across the genome
makeGRanges

Wrapper to construct GRanges object from chr,pos or chr,start,end
lambda_1000

Normalize Lambda inflation factors to specific case-control count
meta.me

Meta-analysis using odds ratio and standard error from 2 datasets
ranged.to.txt

Convert GRanges/RangedData to chr:pos1-pos2 vector
rownames,GRanges-method

rownames method for GRanges objects
Pos.gene

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

Find the chromosome position for SNP ids, gene name or band
snps.in.range

Retrieve SNP ids or positions in specified range
showChipInfo

Display a ChipInfo object
ranged.to.data.frame

Convert RangedData/GRanges to a data.frame
GENE.to.ENS

Convert gene ids to ensembl ids
convTo37

Convert ChipInfo between build 36/37/38 coordinates
conv.36.37

Convert from build 36 to build 37 SNP coordinates
select.autosomes

Select ranges only within the 22 autosomes in a ranged data object
rs.to.id

Convert from dbSNP rs-ids to chip ID labels
get.chr.lens

Get chromosome lengths from build database
get.cyto

Return Cytoband/Karyotype locations across the genome
get.centromere.locs

Return Centromere locations across the genome
get.t1d.regions

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

Obtain subset of ranged object overlapping known T1D associated genomic regions
plotRanges

Plot the locations specified in a GRanges or RangedData object
Pos.band

Find the chromosome, start and end position for cytoband names
nearest.snp

Retrieve the 'n' closest SNP ids or positions near specified locus
nearest.gene

Retrieve the 'n' closest GENE labels or positions near specified locus
rangeSnp

Find closest SNPs to the starts and ends of ranges
rranges

Simulate a GRanges or RangedData object
startSnp

Find closest SNPs to the starts of ranges
ucsc

Retrieve the UCSC build for a ChipInfo object
rs.id

Access rs-ids for ChipInfo
conv.37.38

Convert from build 37 to build 38 SNP coordinates
conv.37.36

Convert from build 37 to build 36 SNP coordinates
extraColumnSlotNames2-methods

~~ Methods for Function extraColumnSlotNames2 ~~
expand.nsnp

Expand genomic locations to the ranges covering the 'n' closest SNPs
humarray-internal

Internal humarray Functions
humarray-package

Simplify Analysis and Annotation of Human Microarray Datasets
plot,GRanges,ANY-method

Plot method for GRanges objects
plotGeneAnnot

Plot genes to annotate figures with genomic axes
set.chr.to.char

Change the chromosome labels in a RangedData or GRanges object to string codes
set.chr.to.numeric

Change the chromosome labels in a RangedData or GRanges object to numbers
coerce<--methods

~~ Methods for Function coerce<- ~~
rownames<--methods

~~ Methods for Function rownames<- ~~