egeulgen / pathfindR

pathfindR: Enrichment Analysis Utilizing Active Subnetworks
https://egeulgen.github.io/pathfindR/
Other
178 stars 25 forks source link

NA error for complete case #6

Closed serbulent closed 6 years ago

serbulent commented 6 years ago

Although my data frame has no NA value, pathfindeR gives error on this complete data.

sigGenes
Gene.symbol logFC adj.P.Val
1 TERT 5.447245 6.405786e-37
2 GLB1L3 5.220464 6.559636e-35
3 ZIC2 4.996056 6.163827e-33
4 PLPP4 4.008541 2.059696e-24
5 IGF2BP3 3.886583 2.205072e-23
6 B4GALNT2 3.580814 7.651860e-21
7 GRHL3 3.526754 2.119953e-20
8 XRCC2 3.267002 2.737415e-18
9 MND1 2.907020 1.905895e-15
10 TRIP13 2.615553 3.093417e-13
11 IL1RL2 2.345951 2.851020e-11
12 KPNA7 2.340761 3.100451e-11
13 PON1 1.763163 2.292736e-07
14 PC 1.747628 2.852648e-07
15 CHTF18 1.741480 3.112132e-07
16 SOX4 1.664055 9.258313e-07
17 XYLB 1.654339 1.059945e-06

tmpOutput <- run_pathfindR(sigGenes)

Testing input

The input looks OK

Processing input. Converting gene symbols, if necessary

Could not find any interactions for 2 (11.76%) genes in the PIN

Error in x[...] <- m : NAs are not allowed in subscripted assignments
In addition: Warning messages:
1: In input_processing(input, p_val_threshold, pin_path) :
pathfindR cannot handle p values < 1e-13
These were changed to 1e-13
2: In [<-.factor(*tmp*, match(converted[, 1], input$new_gene), :
invalid factor level, NA generated