This function uses biomaRt and AnnotationDbi to add gene annotations as node attributes in a network from stringgaussnet package.
Usage
getGenesInformations(Identifiers, ensembl)
Arguments
Identifiers
Can be Ensembl IDs or HGNC symbols. Ensembl IDs are recommended.
ensembl
A mart dataset object
Value
A matrix of node attributes with annotations.
Details
Firstly, this function adds cellular localizations of gene products. A prioritization is performed to rank gene products localizations from nuclear, the most relevant, and then extracellular, plasma membrane and cytoplasm. Secondly, those annotations are added from biomaRt: chromosome name, band, strand, start and end positions, and gene descriptions.