Browse code

minor changes to example comments

catherine authored on 24/04/2021 22:14:36
Showing 1 changed files

... ...
@@ -40,12 +40,14 @@ for fedup pathway enrichment analysis. Current file formats supported are
40 40
 gmt, txt, and xlsx.
41 41
 }
42 42
 \examples{
43
+# Generate pathway list from GMT annotation file
43 44
 pathways <- readPathways(
44 45
     system.file("extdata", "Human_Reactome_November_17_2020_symbol.gmt",
45 46
         package = "fedup"
46 47
     ),
47 48
     minGene = 10, maxGene = 500
48 49
 )
50
+# Generate pathway list from XLSX annotation file
49 51
 pathways <- readPathways(
50 52
     system.file("extdata", "SAFE_terms.xlsx", package = "fedup"),
51 53
     header = TRUE, pathCol = "Enriched.GO.names", geneCol = "Gene.ID"