I am trying to assign cell types with cellassign but it kept giving me such error message.
> fit <- cellassign(exprs_obj = sc_expriment,
+ marker_gene_info = marker_gene_tab,
+ s = s,
+ learning_rate = 1e-2,
+ shrinkage = TRUE,
+ verbose = FALSE)
Error in cellassign(exprs_obj = sc_expriment, marker_gene_info = marker_gene_tab, : nrow(rho) == G is not TRUE
Genes with no mapping counts are present. Make sure this is expected -- this can be valid input in some cases (e.g. when cell types are overspecified). You have specified 18933 input genes. Are you sure these are just your markers? Only the marker genes should be used as inputError in cellassign(exprs_obj = sc_expriment, marker_gene_info = marker_gene_tab, :
nrow(rho) == G is not TRUE
I tried to debug myself by running it line by line and I found that function extract_expression_matrix is not included in the package. Is this introduced by my installation?
Are you ensuring that sc_expriment contains only marker genes? (and that the rows (if SingleCellExperiment) or columns (if count matrix) match the marker genes in marker_gene_tab)
Hi,
I am trying to assign cell types with
cellassign
but it kept giving me such error message.I tried to debug myself by running it line by line and I found that function
extract_expression_matrix
is not included in the package. Is this introduced by my installation?My session info is also attached.