Hi, I'm using the MarkerCount function to predict the cell type labels in my sc RNA-Seq data, but when I call the function like that:
df_res = MarkerCount( X=X, mkr_mat=marker_matrix, log_transformed = True, verbose = True )
It produces this error message:
ValueError: Input X contains NaN.
GaussianMixture does not accept missing values encoded as NaN natively. (...)
I have checked both input data and didnt find NaN values so I dont know what else to do.
My X dataframe looks like this:

And my marker_matrix like this:

Hi, I'm using the MarkerCount function to predict the cell type labels in my sc RNA-Seq data, but when I call the function like that:
df_res = MarkerCount( X=X, mkr_mat=marker_matrix, log_transformed = True, verbose = True )
It produces this error message:
ValueError: Input X contains NaN.
GaussianMixture does not accept missing values encoded as NaN natively. (...)
I have checked both input data and didnt find NaN values so I dont know what else to do.
My X dataframe looks like this:
And my marker_matrix like this: