chr1swallace / coloc

Repo for the R package coloc
139 stars 44 forks source link

Error while running moloc #86

Closed JayshreeAdvani closed 2 years ago

JayshreeAdvani commented 2 years ago

I am trying to run moloc and I am getting this error Error in { : task 1 failed - "task 1 failed - "object 'check.dataset' not found"" I have eQTL data, mQTL data and GWAS data

chr1swallace commented 2 years ago

I didn't write moloc, sorry.

On Mon, 2022-05-09 at 08:23 -0700, JayshreeAdvani wrote:

I am trying to run moloc and I am getting this error Error in { : task 1 failed - "task 1 failed - "object 'check.dataset' not found"" — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

JayshreeAdvani commented 2 years ago

I am using coloc as well in my script and using this function coloc:::check.dataset(dataset, i, req = "MAF") and it is giving me error for check.dataset

chr1swallace commented 2 years ago

The error suggests you don't have coloc loaded because it can't find the function. How have you installed it?

https://chr1swallace.github.io


From: JayshreeAdvani @.> Sent: Monday, May 9, 2022 4:57:34 PM To: chr1swallace/coloc @.> Cc: Chris Wallace @.>; Comment @.> Subject: Re: [chr1swallace/coloc] Error while running moloc (Issue #86)

I am using coloc as well in my script and using this function coloc:::check.dataset(dataset, i, req = "MAF") and it is giving me error for check.dataset

— Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchr1swallace%2Fcoloc%2Fissues%2F86%23issuecomment-1121283252&data=05%7C01%7Ccew54%40universityofcambridgecloud.onmicrosoft.com%7C6edd5f31e4624b82b48208da31d4b519%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637877086875159342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tNhU5RXOpHAOpAE1dnD84RUSXjqU6IXHL%2BYS6Bn2ipY%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAQWR2AWWQM4PHR7VGIFNB3VJEYW5ANCNFSM5VOUMNCQ&data=05%7C01%7Ccew54%40universityofcambridgecloud.onmicrosoft.com%7C6edd5f31e4624b82b48208da31d4b519%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637877086875159342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FREdJvEi%2BJ5jkY8Gg%2F7tFr5zpMmxRBMatuDsq1IJW%2FQ%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

JayshreeAdvani commented 2 years ago

Yes I have installed coloc and load it as a library(coloc) in my R script.

chr1swallace commented 2 years ago

well I do not understand.

How are you calling it?

What happens when you type "check.dataset" at the prompt?

On Mon, 2022-05-09 at 11:59 -0700, JayshreeAdvani wrote:

Yes I have installed coloc and load it as a library(coloc) in my R script. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

JayshreeAdvani commented 2 years ago

I got your point and I have reinstalled coloc and now it is working. If I still find issues will contact you. Thank you.