Association testing Error cna_ncorrs calculation
pinunQ opened this issue · comments
Hi,
When I am doing the association testing I am receiving the error after the computation of Neighborhood level FDRs which says cna_ncorrs must be of length 0 or 1.
glob1 <- association.Seurat( seurat_object = glob1, test_var = 'gender1', samplem_key = 'cell_states', graph_use = 'RNA_nn', verbose = TRUE, batches = NULL, ## no batch variables to include covs = NULL ## no covariates to include )
Error that I am getting is
Error:
TRUE ~ seurat_object@meta.data$cna_ncorrsmust be length 0 or one, not 486134. Run
rlang::last_error() to see where the error occurred.
I am using Seurat for running CNA in R.