View source: R/accnet_enrichment_analysis.R
accnet_enrichment_analysis | R Documentation |
Perform a statistical test (Hypergeometric test: phyper
) of the genes/proteins.
It takes the cluster definition from the cluster
table and compute
the statistical test assuming the frequency of the gene/protein in the cluster vs
the frequency of the gene/protein in the population.
accnet_enrichment_analysis(data, cluster, padj_method = "BY")
data |
An |
cluster |
Dataframe with two colums (Source,Cluster) |
padj_method |
Method adjust the p-value for multiple comparisons: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY","fdr", "none" (see p.adjust) |
max_pvalue |
Maximun p-value of retrived data. |
Return a data.frame with the columns:
Target: Protein
Source: Genome
Cluster: Cluster of genome
perClusterFreq: Percentage (\
ClusterFreq: Frequency 0-1 of the protein in this cluster
ClusterGenomeSize: Number of genomes in the cluster
perTotalFreq: Percentage (\
TotalFreq: Frequency 0-1 of the protein in the population
OdsRatio: Ods ration of the protein
pvalue: p-value of the hypergeometric test (see phyper
)
padj: Adjusted p-value using p.adjust
AccnetGenomeSize: Total number of genomes
AccnetProteinSize: Total number of proteins
Annot: Funtional annotation of the protein.
phyper
p.adjust
accnet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.