I am trying to run goseq package in R, working with human data with hg19. I followed the vignette instructions to create "gene.vector", but I am getting the following error:
> gene.vector <- as.integer(deseq.results$gene.id%in%genesDE)
> names(gene.vector) <- deseq.results$gene.id
> pwf=nullp(gene.vector,"hg19","ensGene")
Loading hg19 length data...
Error in smooth.construct.cr.smooth.spec(object, dk$data, dk$knots) :
objeto 'C_crspl' no encontrado
Do you have a suggestion on how to solve the issue?
Thank you.
Current session info is as follows:
> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] rtracklayer_1.36.4 goseq_1.28.0 geneLenDataBase_1.12.0 BiasedUrn_1.07 limma_3.32.7
[6] DESeq2_1.16.1 SummarizedExperiment_1.6.5 DelayedArray_0.2.7 matrixStats_0.52.2 Biobase_2.36.2
[11] GenomicRanges_1.28.5 GenomeInfoDb_1.12.2 IRanges_2.10.3 S4Vectors_0.14.5 BiocGenerics_0.22.0
Please show us the complete output from sessionInfo(). The output that you give at the moment cannot be complete because you appear to have no packages loaded via a namespace. If I load goseq by itself into a clean R session, I see the following:
Note especially that you have to see the mgcv package, because that is the package which contains the function that gave the error.