Skip to content

'list' object cannot be coerced to type 'double' #3

Description

@MiaoranZhang

Thanks for this excellent package.
Well when I use this command
res <- hyprcoloc(betas2, ses2, trait.names=traits, snp.id=rsid, trait.subset = c("T1","T2"))
I received a error report

my files looks like these
str(betas)
'data.frame': 106073 obs. of 2 variables:
$ T1: num -0.0206 0.0238 0.0086 0.0306 -0.015 ...
$ T2: num 0.03462 0.0854 -0.00517 -0.06531 -0.00654 ...
str(ses)
'data.frame': 106073 obs. of 2 variables:
$ T1: num 0.0421 0.1032 0.0254 0.0253 0.0425 ...
$ T2: num 0.0176 0.0478 0.0102 0.0102 0.0175 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions