Skip to content

Commit

Permalink
update gsea documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bvenn committed Jan 17, 2022
1 parent d81a26d commit a62cdc3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/GSEA.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ open BioFSharp.Stats
//specific group. If significantly altered proteins were identified, you can assign index '1' to
//all altered proteins and '0' to all other. The choice of the index is up to you, but you have
//to remind it for later steps.
let item = OntologyEnrichment.createOntologyItem "Cre06.g250100" "GMM:29.6.2.3;GMM:20.2.1" 1 "HSP70"
let item = OntologyEnrichment.createOntologyItem "Cre06.g250100" "protein.folding.chaperones and co-chaperones.HSP70s;stress.abiotic.heat" 1 "HSP70"


//If more than one ontology term is possible, you can use this function to split the item, so that
Expand All @@ -109,7 +109,7 @@ let splitItems = OntologyEnrichment.splitMultipleAnnotationsBy ';' item
let items = [splitItems(*...*)] |> Seq.concat

//When dealing with MapMan annotations all levels of the descriptions should be considered.
//GMM:26.6.2 -> [GMM:26.6.2;GMM:26.6;GMM:26]
//"stress.abiotic.heat" -> ["stress.abiotic.heat"; "stress.abiotic"; "stress"]
let expandedItems = OntologyEnrichment.expandOntologyTree items


Expand All @@ -132,8 +132,8 @@ let filterAndSortEnrichedModules =
//GseaResult:
// OntologyTerm : OntologyTerm(MapMan-Term/GO-Term/...)
// ItemsInBin : Sequence of single items belonging to the ontology term
// NumberOfDEsInBin : number of significantly altered items in 'OntologyItem' bin
// NumberInBin : number of items in 'OntologyItem' bin
// TotalNumberOfDE : number of significantly altered items
// TotalUnivers : number of all items (expanded)
// NumberOfDEsInBin : Number of significantly altered items in 'OntologyTerm' bin
// NumberInBin : Number of items in 'OntologyTerm' bin
// TotalNumberOfDE : Number of significantly altered items
// TotalUniverse : Number of all items (expanded)
// PValue : p value

0 comments on commit a62cdc3

Please sign in to comment.