getTissueDegree-methods: Extract tissue degree from query result

Description Usage Arguments Value Examples

Description

This function extracts the tissue degree from eQTL list query result for each pathway.

Usage

1
2
3
4
getTissueDegree(res, ...)

## S4 method for signature 'loci2pathResult'
getTissueDegree(res, loci)

Arguments

res

query result from function query.egset.list()

...

additional params

loci

a list of eqtlSet; each member should be an eqtlSet object

Value

gene.tissue.map

shows mapping:gene<->tissue

gene.tissue.degree

shows tissue degree for each gene

mean.tissue.degree

shows the average tissue digree for each pathway in the result table

Examples

1
2
3
4
5
6
result <- query(query.gr=query.gr, 
  loci=eset.list, path=biocarta)
tissue.degree=getTissueDegree(result, eset.list)
head(tissue.degree$gene.tissue.map)
head(tissue.degree$gene.tissue.degree)
head(tissue.degree$mean.tissue.degree)

StanleyXu/egquery documentation built on Sept. 12, 2019, 9:35 a.m.