Skip to content

plot_popkin OOM for larger kinship matrices #7

@mkelcb

Description

@mkelcb

The plot_popkin function generates OOM when the number of individuals in the Kinship matrix is large. I was able to generate a plot with a RAM of 250GBs with an n=12000, but for larger matrices (eg 30-70K) this generated an OOM error.

Maybe using some form of chunking (like you do for the main kinship matrix calculation) you could get around this issue. (My workaround atm is that I simply to randomly downsample my Kinship matrix to 12K before plotting it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions