Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue running shiny graphing #4

Open
Callithrix-omics opened this issue Feb 4, 2020 · 2 comments
Open

issue running shiny graphing #4

Callithrix-omics opened this issue Feb 4, 2020 · 2 comments

Comments

@Callithrix-omics
Copy link
Contributor

after I install angsd-wrapper and try to run shiny I get the following error. Any suggestions?

MBP-de-Joanna:angsd-wrapper joannamalukiewicz$ angsd-wrapper shiny graphing
angsd-wrapper running from /Applications/angsd-wrapper

Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: ‘Hmisc’

The following objects are masked from ‘package:base’:

format.pval, units

Attaching package: ‘ape’

The following object is masked from ‘package:Hmisc’:

zoom

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

dataTableOutput, renderDataTable

Fehler: With R version 3.5 or greater, install Bioconductor packages using BiocManager; see https://bioconductor.org/install
Ausführung angehalten

@Callithrix-omics
Copy link
Contributor Author

I looked at the script file startShiny.R and the problem was that lines

Install packages from BioConductor

bioInstall <- function() {
if("biocLite" %in% rownames(installed.packages()) == FALSE) {
source("http://bioconductor.org/biocLite.R")
}
library(BiocInstaller)
if("genomeIntervals" %in% rownames(installed.packages()) == FALSE) {
biocLite("genomeIntervals")
}
library(genomeIntervals)

are depricated if you are running Bioconductor with R 3.5 or greater and biocLite need to but changed to the BiocManager as indicated in the error I posted above. I changed the line to the following

Install packages from BioConductor

bioInstall <- function() {
#if("biocLite" %in% rownames(installed.packages()) == FALSE) {
#source("http://bioconductor.org/biocLite.R")
#}
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("BiocInstaller")

#library(BiocInstaller)
if("genomeIntervals" %in% rownames(installed.packages()) == FALSE) {
    #biocLite("genomeIntervals")
    BiocManager::install("genomeIntervals")
}
library(genomeIntervals)

}
and it seems to work.

@shamanpi
Copy link
Collaborator

shamanpi commented Feb 5, 2020

Hi @Callithrix-omics, thanks for posting your solution. We're currently working on updating the container files to deal with the R versioning, and should have a fixed version out soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants