jaccardEstimation | R Documentation |
This function is able to calculate the Jacard Index between: 1. muliple disases, 2. a set og genes and multiple diseases, 3. a set of genes and multiple main psychiatric disorders and 4. multiple diseases and multiple main psychiatric disorders.
jaccardEstimation(pDisease, sDisease, database = "ALL", nboot = 100,
ncores = 1, verbose = FALSE)
pDisease |
vector of diseases, vector of genes, vector of main psychiatric disorder. |
sDisease |
vector of diseases, vector of genes, vector of main
psychiatric disorder. Only necessary when comparing genes vs. diseases,
genes vs. main psychiatric disorders or diseases vs. main psychiatric
disorders. To compare multiple diseases only use |
database |
Name of the database that will be queried. It can take the
values |
nboot |
Number of iterations sued to compute the pvalue associted to the calculated Jaccard Index (default 100). |
ncores |
Number of cores used to calculate the pvalue associated to the computed Jaccard Index (default 1). |
verbose |
By default |
Warning: The main psychiatric disorders are understood as a single set of genes composed by the genes of all the diseases that the main psychiatric disorder cotains.
An object of class JaccardIndexPsy
with the computed
calculation of the JaccardIndex.
ji <- jaccardEstimation( c( "COMT", "CLOCK", "DRD3" ), "umls:C0005586", "ALL" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.