func_annot_test_internal: Functional annotation test

Description Usage Arguments Value Examples

Description

Conducts functional annotation using Fisher exact test

Usage

1
2
3
func_annot_test_internal(annotlist, realnames, namespaces, inputgeneset,
  gene_amount_border = 1, fisher_alternative = "greater",
  p_adjust_method = "BH")

Arguments

annotlist

- list contains terms as keys and direct annotations as values

realnames

- GO terms full names

namespaces

- GO terms namespaces

inputgeneset

- vector of query genes

gene_amount_border

- minimal number of genes annotated to a term (1 by default)

fisher_alternative

- fisher exact test alternative, possible values: "greater", "less", "two.sided" ("greater by default)

p_adjust_method

- method for multiple testing correction (to see all possible methods print: p.adjust.methods)

Value

- dataframe contains functional annotaion for gene set

Examples

1
2
3
4
    # data - dataframe contains gene IDs in first column and fold-change values in second column
    data(up_genes, annot_data, package = "fsgor")
    gene_sets <- div_genes_to_quantiles(up_genes, 6)
    func_annot_test_internal(annot_data$annot_data, annot_data$real_names, annot_data$namespaces, gene_sets$'1')

DanWiebe/fsgor documentation built on May 12, 2019, 12:30 a.m.