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

check.associations paired test #23

Open
alex-d13 opened this issue Jul 22, 2021 · 2 comments
Open

check.associations paired test #23

alex-d13 opened this issue Jul 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@alex-d13
Copy link

Hi,

I really enjoy using your tool!
Would it be possible to add the option to also use the paired wilcoxon test for the associations testing? It should be quite easy to add, right?

Best,
Alex

jakob-wirbel added a commit that referenced this issue Jul 28, 2021
@jakob-wirbel
Copy link
Collaborator

Hi @alex-d13

Thanks for the feedback! :)

I added some functionality for paired testing in the check.association function and it worked for me with a test dataset that i had.

You can install the development version through devtools:

devtools::install_github(repo = 'zellerlab/siamcat')

and then you can try out the paired testing. You will need a column in your meta-data that indicates the groups for the paired testing, for example Individual_ID or sth. It will check that for each pairing, you have exactly two samples, one in the positive and one in the negative group (others are discarded for testing). Then the function will perform a paired Wilcoxon test:

check.associations(sc.obj, paired='Individual_ID')

Let me know if it works :)

@jakob-wirbel jakob-wirbel added the enhancement New feature or request label Jul 28, 2021
@alex-d13
Copy link
Author

Sorry for the very late answer, but yes, it worked :)

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

No branches or pull requests

2 participants