Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Go terms by type of relationship #8

Open
sfujio opened this issue Aug 12, 2016 · 1 comment
Open

Filter Go terms by type of relationship #8

sfujio opened this issue Aug 12, 2016 · 1 comment

Comments

@sfujio
Copy link

sfujio commented Aug 12, 2016

Hi,
I need to calculate the similarirty between GO terms of a protein set, but I am interested only in the "is_a" type of relationship.
I am a newbie in programming and haven´t quite yet figure out how the package handles the relation between the terms. I tried to understand by seeing the code of the functions but failed.

I would like to ask 1) if filtering for type of relationship between terms is possible, and 2) how is the information of the relationships is stored and obtained from GO.

Regarding point 2, maybe the package doesn´t need to know the type of relationship but at least it needs to know how the terms are related with each other in order to calculate some similarity measueres. I would like to know how is that information retrieved and handle.

Thank you for creating the package and for your time,

SF

@GuangchuangYu
Copy link
Member

We used GO.db to query the GO term relationships.

Only calculate semantic similarity using is_a is not supported. GOSemSim only support filter out GO terms by dropCodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants