dentearl/mafTools

Calculate F-score from mafComparator result

Closed this issue · 0 comments

Hi,

I have already have the result xml file, but I have problems interpreting it.
I use R language to read the file:

result_1_2 <- xmlParse(file="xml_file")
root_node <- xmlRoot(result_1_2)
> root_node[[1]][[1]]
<aggregateResults>
  <all totalTests="999261" totalTrue="998698" totalFalse="563" average="0.999437"/>
</aggregateResults> 
> root_node[[2]][[1]]
<aggregateResults>
  <all totalTests="1002005" totalTrue="1001444" totalFalse="561" average="0.999440"/>
</aggregateResults> 

I just calculate F score = 2x0.999437x0.999440/(0.999437+0.999440), however, I don't know if it is right.
Thanks for your attention.

Best wishes,