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

Replace getExperiment* and testExperiment* functions with getCrossAssociation #511

Merged
merged 13 commits into from
May 8, 2024

Conversation

thpralas
Copy link
Collaborator

Create new function getCrossAssociation to replace the following :

  • getExperimentCrossAssociation
  • getExperimentCrossCorrelation
  • testExperimentCrossAssociation
  • testExperimentCrossCorrelation

New function getCrossAssociation makes the significance test as default (test_significance default value is TRUE)

deprecate getExperimentCrossAssociation
deprecate getExperimentCrossCorrelation
deprecate testExperimentCrossAssociation
deprecate testExperimentCrossCorrelation
Merge branch 'devel' of https://github.com/microbiome/mia into getCrossAssociation

# Conflicts:
#	man/deprecate.Rd
R/deprecate.R Outdated Show resolved Hide resolved
@TuomasBorman
Copy link
Contributor

Looks good, the idea of this PR was to remove additional functions that we have only one function for cross-correlation. Moreover, the name of function was shortened

@TuomasBorman
Copy link
Contributor

test_significance could still be FALSE by default. The function uses base (or stats) R by default for calculating cross-correlation. The function that calculates correlation without significance testing is much faster

@antagomir
Copy link
Member

Some conflicts..?

@antagomir
Copy link
Member

Otherwise seems fine

Merge branch 'devel' of https://github.com/microbiome/mia into getCrossAssociation

# Conflicts:
#	DESCRIPTION
#	NEWS
#	R/deprecate.R
#	man/deprecate.Rd
#	pkgdown/_pkgdown.yml
@TuomasBorman TuomasBorman merged commit 989206b into devel May 8, 2024
1 of 3 checks passed
@TuomasBorman TuomasBorman deleted the getCrossAssociation branch May 8, 2024 13:17
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

Successfully merging this pull request may close these issues.

3 participants