Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
datautils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bioinfo
datautils
Commits
9e67a753
Commit
9e67a753
authored
Nov 18, 2016
by
Holger Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added padj cutoff parameter to enrichr()
parent
a0fbd037
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
R/bio/enrichr_wrapper.R
R/bio/enrichr_wrapper.R
+2
-2
No files found.
R/bio/enrichr_wrapper.R
View file @
9e67a753
...
...
@@ -4,7 +4,7 @@
enrichr
=
function
(
geneSymbols
,
listName
,
ontologies
=
c
(
"GO_Biological_Process_2015"
,
"ENCODE_TF_ChIP"
,
"ENCODE_Histone_Modifications_2015"
),
suppress_logs
=
T
,
keep_genes
=
F
){
enrichr
=
function
(
geneSymbols
,
listName
,
ontologies
=
c
(
"GO_Biological_Process_2015"
,
"ENCODE_TF_ChIP"
,
"ENCODE_Histone_Modifications_2015"
),
suppress_logs
=
T
,
keep_genes
=
F
,
padj_cutoff
=
0.05
){
if
(
system
(
"which query_enrichr_py3.py"
,
ignore.stdout
=
T
)
==
1
){
stop
(
"query_enrichr_py3 is not in PATH"
)
}
...
...
@@ -37,7 +37,7 @@ enrichr = function(geneSymbols, listName, ontologies=c("GO_Biological_Process_20
if
(
!
keep_genes
)
enrReusults
%<>%
dplyr
::
select
(
-
genes
)
enrReusults
enrReusults
%>%
filter
(
adj_p_value
<
padj_cutoff
)
}
#enrichr_cached = function(...){ quote(enrichr(...)) %>% cache_it() }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment