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

Fixing function %||% not being found #134

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

PelzKo
Copy link

@PelzKo PelzKo commented Jul 22, 2021

When using harmony with the package CDSeq (https://github.com/kkang7/CDSeq_R_Package), I discovered that I always got this error:

Error in assay.use %||% Seurat::DefaultAssay(object) : 
  could not find function "%||%"

This error will not be there if library(rlang) is called before, but that can't always be guaranteed. The issue can be fixed by including an @importFrom for '%||%' and 'DefaultAssay' in the RunHarmony methods

.Rhistory Outdated Show resolved Hide resolved
Comment on lines +10 to +14
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this change come from? Has it been added by roxygen?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it has. I am unsure whether it is necessary though

mumichae added a commit to theislab/scib-pipeline that referenced this pull request Mar 3, 2022
LuckyMD pushed a commit to theislab/scib-pipeline that referenced this pull request Mar 3, 2022
* update scib package name

* fix batch variable check between integrated and nonintegraed adata

* update environments to correct scib versions

* using pip version of scib

* fix R import issue for Harmony (as mentioned in immunogenomics/harmony#134)

* use value counts to check for batch relabeling after integration
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.

2 participants