Learn R Programming

gespeR (version 1.4.2)

annotate.gsp: annotate.gsp

Description

Query Biomart HGNC symbols for the entrez identifiers of estimated GSPs. Currently, only implemented for species "hsapiens".

Usage

## S3 method for class 'Phenotypes':
annotate.gsp(object, organism = "hsapiens")

## S3 method for class 'gespeR': annotate.gsp(object, organism = "hsapiens")

Arguments

object
A gespeR or Phenotypes object
organism
String indicating the biomaRt organism

Value

  • data.frame containing gene identifier, gene symbol and phenotypic score

See Also

gsp

ssp

scores

Examples

Run this code
data(stabilityfits)
 gspA <- gsp(stabilityfits$A)
annotate.gsp(gspA)

Run the code above in your browser using DataLab