[Experimental] strc_readq(.) read structure q file as produce by faststructure

strc_readq(file.path)

Arguments

file.path

Path to the file

Details

more details to come ...

Examples

# provide some examples of how to use your function path.to.file <- system.file("extdata", "results_job_k2_r1_q", package = "QuickPop") strc_readq(path.to.file)
#> # A tibble: 1,258 × 5 #> ID PopNum K Qpop Qvalue #> <chr> <int> <dbl> <chr> <dbl> #> 1 NS_SS0963 1 2 Q1 0.995 #> 2 NS_SS0963 1 2 Q2 0.0049 #> 3 NS_SS0983 1 2 Q1 0.997 #> 4 NS_SS0983 1 2 Q2 0.003 #> 5 NS_SS0719 1 2 Q1 0.996 #> 6 NS_SS0719 1 2 Q2 0.004 #> 7 NS_SS1001 1 2 Q1 0.995 #> 8 NS_SS1001 1 2 Q2 0.005 #> 9 NS_SS0936 1 2 Q1 0.998 #> 10 NS_SS0936 1 2 Q2 0.0019 #> # … with 1,248 more rows