Hi Diego,
We're trying to use rolypoly with a new data set - the example data set works fine, and we get the same answer as the vignette. However, we're running into an error with the new data. When I run rolypoly_roll, I get the following:
Reading expression set Data/eset.rds
Reading ad.rds
adding gwas
filtering out SNPs with MAF < 1%
adding block annotations
Error in names(chrom_gwas_list) <- paste("chr", names(chrom_gwas_list), :
'names' attribute [1] must be the same length as the vector [0]
Calls: rolypoly_roll -> rolypoly_link_blocks_and_gwas
Any ideas? (output of sessionInfo() below)
Thanks
Dan
sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu precise (12.04.5 LTS)
Matrix products: default
BLAS: /nfs/teams/team170/Daniel/local/lib/R/lib/libRblas.so
LAPACK: /nfs/teams/team170/Daniel/local/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] bindrcpp_0.2 dplyr_0.7.4 Biobase_2.38.0
[4] BiocGenerics_0.24.0 rolypoly_0.1.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.16 bindr_0.1 magrittr_1.5
[4] munsell_0.4.3 lattice_0.20-35 colorspace_1.3-2
[7] R6_2.2.2 rlang_0.2.0 foreach_1.4.4
[10] plyr_1.8.4 grid_3.4.3 data.table_1.10.4-3
[13] gtable_0.2.0 iterators_1.0.9 lazyeval_0.2.1
[16] assertthat_0.2.0 tibble_1.4.2 Matrix_1.2-12
[19] ggplot2_2.2.1 codetools_0.2-15 glue_1.2.0
[22] compiler_3.4.3 pillar_1.2.1 scales_0.5.0
[25] pkgconfig_2.0.1