Skip to content

Fix check_accuracy.r script #206

@gregorgorjanc

Description

@gregorgorjanc

This should be made easy to run. I now get this:

❯ ./check_accuracy.r
Error in file(file, "rt") : cannot open the connection
Calls: assessPeeling -> as.matrix -> read.table -> file
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'outputs/multilocus.dosage.txt': No such file or directory
Execution halted

In AlphaImpute2 I get:

❯ ./check_accuracy.r

Accuracy results for full imputation algorithm:
[1] "outputs/ai2.genotypes"
     generation yield yieldMissing       acc
[1,]          0     1            1 0.9594271
[2,]          1     1            1 0.9919062
[3,]          2     1            1 0.9982353
[4,]          3     1            1 0.9977857
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions