cnfoley / hyprcoloc

R package for performing high dimensional multi-trait colocalization analyses using GWAS summary data
39 stars 10 forks source link

Permissions? #1

Open vwarrier opened 3 years ago

vwarrier commented 3 years ago

Hi folks,

I've been trying to use this really nice method for a new project, but I seem to have trouble installing it. Looks like it may be a permission issue?

Code: install_github("cnfoley/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)

Error: Failed to install 'unknown package' from GitHub: HTTP error 404. No commit found for the ref master

Did you spell the repo owner (cnfoley) and repo name (hyprcoloc) correctly?

cnfoley commented 3 years ago

Hi folks,

I've been trying to use this really nice method for a new project, but I seem to have trouble installing it. Looks like it may be a permission issue?

Code: install_github("cnfoley/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)

Error: Failed to install 'unknown package' from GitHub: HTTP error 404. No commit found for the ref master

Did you spell the repo owner (cnfoley) and repo name (hyprcoloc) correctly?

  • If spelling is correct, check that you have the required permissions to access the repo.

Best, Varun

Hi Varun,

Sorry for the slight delay in getting back to you.

Are you using a Windows machine? If so, it is possible the issue is related to the version of "Rtools" installed. Do you have Rtools40 installed on a Windows machine? If not, you can remove the previous version of Rtools (probably located C:\Rtools) and download Rtools40 from CRAN [https://cran.r-project.org/bin/windows/Rtools/].

Hope that resolves the issue. Please let me know.

Best,

Chris

vwarrier commented 3 years ago

Hi Chris,

Sorry for the delayed response. I'm using it on the clusters, though accessing it via a Windows machine. Doubt that could be an issue? I can always try it on a local machine to see what the issue is if it's proving to be too complicated.

Best, Varun

cnfoley commented 3 years ago

Hi Varun,

I'd be keen to know if the version of tools/compiler support for using c++ through R in the cluster is up to date? Please let me know how you get on with the local machine too. We'll get to the bottom of it.

All the best,

Chris

On Mon, Feb 8, 2021 at 7:53 AM Varun Warrier notifications@github.com wrote:

Hi Chris,

Sorry for the delayed response. I'm using it on the clusters, though accessing it via a Windows machine. Doubt that could be an issue? I can always try it on a local machine to see what the issue is if it's proving to be too complicated.

Best, Varun

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cnfoley/hyprcoloc/issues/1#issuecomment-774947519, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJAQVLUGJ5HLHJDOC5KMUDS56J7FANCNFSM4XEBMFEQ .

cnfoley commented 3 years ago

Hi Varun,

while I sort out the c++ compiler issues - I've updated the README to suggest downloading an older (stable) version of the package from:

install_github("jrs95/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)

The functionality is the same. Main difference is that the COLOC style configuration prior p12 (coded "prior.12") and the conditional colocalization prior (coded "prior.c") are not used in this version. The previous version uses the parameter "prior.2" which is related to prior.c by:

prior.c = 1 - prior.2

The defaults values between the package versions are identical - so you only need to employ the above formula when thinking about assessing robustness of posterior inference to the choice of prior (however, there are defaults to do this for you as well).

Please let me know if the above version is working for you.

All the best,

Chris

vwarrier commented 3 years ago

Hi Chris,

Great, thanks for this. Sorry, been a bit busy so couldn't get your the R version. But I'll try this out next week and let you know if this works. Thanks so much for looking into it.

Best wishes, Varun


From: Christopher N Foley notifications@github.com Sent: 12 February 2021 08:33 To: cnfoley/hyprcoloc Cc: Varun Warrier; Author Subject: Re: [cnfoley/hyprcoloc] Permissions? (#1)

Hi Varun,

while I sort out the c++ compiler issues - I've updated the README to suggest downloading an older (stable) version of the package from:

install_github("jrs95/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)

The functionality is the same. Main difference is that the COLOC style configuration prior p12 (coded "prior.12") and the conditional colocalization prior (coded "prior.c") are not used in this version. The previous version uses the parameter "prior.2" which is related to prior.c by:

prior.c = 1 - prior.2

The defaults values between the package versions are identical - so you only need to employ the above formula when thinking about assessing robustness of posterior inference to the choice of prior (however, there are defaults to do this for you as well).

Please let me know if the above version is working for you.

All the best,

Chris

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cnfoley/hyprcoloc/issues/1#issuecomment-778055643, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTZYBAGTXBPMF6Z243SGEDS6TRXFANCNFSM4XEBMFEQ.

vwarrier commented 3 years ago

Hi Chris,

Brilliant! Installation now successful. Thanks for sorting it out so quickly.

Best Varun

cnfoley commented 3 years ago

Great - glad that helped Varun.

All the best,

Chris

On Thu, Feb 18, 2021 at 5:33 AM Varun Warrier notifications@github.com wrote:

Hi Chris,

Brilliant! Installation now successful. Thanks for sorting it out so quickly.

Best Varun

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cnfoley/hyprcoloc/issues/1#issuecomment-781067636, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJAQVIV2LZASH4QDDJ4ZA3S7SRDZANCNFSM4XEBMFEQ .