paiva-s-lab / FlowCT

FlowCT: A semi-automated workflow for deconvolution of immunophenotypic data and objective reporting on large datasets
4 stars 4 forks source link

circ.tree function not working #15

Closed Rhubarbcream closed 6 months ago

Rhubarbcream commented 7 months ago

Hi again,

when trying to run the circ.tree function, I encounter the error shown below. Before, Seurat generated 5 subclusters of a cluster, all written in fcsL$Seurat_L_named. Is that too few for the function to work?


> circ.tree(fcs.SCE = fcsL, cell.clusters = "Seurat_L_named", nodes = "display")
Error in `dplyr::full_join()`:
! `...` must be empty.
✖ Problematic arguments:
• by.x = "label"
• by.y = "node"
Run `rlang::last_trace()` to see where the error occurred.

> rlang::last_trace()
<error/rlib_error_dots_nonempty>
Error in `dplyr::full_join()`:
! `...` must be empty.
✖ Problematic arguments:
• by.x = "label"
• by.y = "node"
---
Backtrace:
    ▆
 1. └─FlowCT::circ.tree(...)
 2.   ├─dplyr::full_join(hca, clustering_propL, by.x = "label", by.y = "node")
 3.   └─tidytree:::full_join.phylo(...)
 4.     ├─dplyr::full_join(...)
 5.     └─tidytree:::full_join.treedata(...)
 6.       ├─dplyr::full_join(...)
 7.       └─dplyr:::full_join.data.frame(dat, y, by = by, copy = copy, suffix = suffix, ...)
Run rlang::last_trace(drop = FALSE) to see 5 hidden frames.

> rlang::last_trace(drop = FALSE)
<error/rlib_error_dots_nonempty>
Error in `dplyr::full_join()`:
! `...` must be empty.
✖ Problematic arguments:
• by.x = "label"
• by.y = "node"
---
Backtrace:
     ▆
  1. └─FlowCT::circ.tree(...)
  2.   ├─dplyr::full_join(hca, clustering_propL, by.x = "label", by.y = "node")
  3.   └─tidytree:::full_join.phylo(...)
  4.     ├─dplyr::full_join(...)
  5.     └─tidytree:::full_join.treedata(...)
  6.       ├─dplyr::full_join(...)
  7.       └─dplyr:::full_join.data.frame(dat, y, by = by, copy = copy, suffix = suffix, ...)
  8.         └─rlang::check_dots_empty0(...)
  9.           └─rlang::check_dots_empty(call = call)
 10.             └─rlang:::action_dots(...)
 11.               ├─base (local) try_dots(...)
 12.               └─rlang (local) action(...)`
jgarces02 commented 7 months ago

I've never seen this error. I will need some time to go deeper (once I get some time to focus on FlowCT 😬 ).

jgarces02 commented 6 months ago

Hi @Rhubarbcream, could you please install the devel version and tell me if it works?

devtools::install_github("paiva-s-lab/FlowCT", ref = "devel", force = T)

Rhubarbcream commented 6 months ago

Hi @jgarces02 ,

it works perfectly! Thank you so much!