DEGsToDiseases {KnowSeq} | R Documentation

## DEGsToDiseases obtains the information about what diseases are related to the DEGs indicated by parameter.

### Description

The function obtains the information about what diseases are related to the DEGs indicated by parameter. For that, the function makes use of the web platforms gene2Diseases and targetValidation.

### Usage

    DEGsToDiseases(geneList, size = 10, disease = "", getEvidences = FALSE)

### Arguments

`geneList` | A list that contains the gene symbols or gene names of the DEGs.
`size` | The number of diseases to retrieve from targetValidation
`disease` | Query a specific disease instead of retrieving the whole list of related diseases.
`getEvidences` | Boolean. If true, for each gene, a list of found evidences for each disease will be returned.

### Value

A list which contains the information about the diseases associated to each genes or to a set of genes. If getEvidences is TRUE, found evidences for each case will be returned too.

### Examples

    diseases <- DEGsToDiseases(c("KRT19","BRCA1"), getEvidences = FALSE)

[Package KnowSeq version 1.6.3 Index]