immunomind / immunarch

🧬 Immunarch: an R Package for Fast and Painless Exploration of Single-cell and Bulk T-cell/Antibody Immune Repertoires
https://immunarch.com
Apache License 2.0
312 stars 65 forks source link

repFilter not available #301

Open itagaf opened 2 years ago

itagaf commented 2 years ago

Hi, I've installed immunarch via: devtools::install_github("immunomind/immunarch", ref="trust4-fix") The package works with no issues, though, when trying to invoke repFilter the function can not be found.

So far I've mananged to download the filter.R script and import it using: source("C:/Users/myName/AppData/Local/R/win-library/4.2/immunarch/R/filters.R") (had to comment out .validate_immdata func for it work)

for now, it works for params by.meta and by.clonetype. Passing by.rep produce the error: Error in as_numeric_or_fail(query_args) : could not find function "as_numeric_or_fail"

Thank you and thanks for this great tool!

Alexander230 commented 2 years ago

Hi, @piti295!

I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!

The branch trust4-fix is old, and it was already merged into master. So, try to reinstall Immunarch from master branch and reload it:

install.packages(c("devtools", "pkgload"))
devtools::install_github("immunomind/immunarch", ref="master")
devtools::reload(pkgload::inst("immunarch"))

Cheers, Aleksandr