Skip to content

Filtering genes in IMAT #28

@pauljensen

Description

@pauljensen

IMAT should only use genes that appear in both the dataset and the model, similar to MADE.

As reported by a user:

I did encounter a small problem with the toolbox a few days ago, though it is actually more a result of improper use than a fault in the script, however I thought it might be something you would want to know.

I had a cobra model where I changed the gene association for a certain reaction, as a side-effect, this resulted in a set of genes now no longer associated with any reactions. After using the cobra_to_tiger function, only those genes which are associated in a reaction are put in tiger.varnames. This however results in a problem when running iMAT:

imat -> add_diff -> convert_ids:
Some indexes end up being 0 which give a problem in add_diff, as an index has to be a positive integer or logical...


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