Skip to content

Imput X contains NaN #1

@GERMAN00VP

Description

@GERMAN00VP

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:

Captura de pantalla de 2023-10-16 18-29-14

And my marker_matrix like this:

marker_matrix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions