reneshbedre / bioinfokit

Bioinformatics data analysis and visualization toolkit
MIT License
333 stars 77 forks source link

Error in volcano plot #41

Closed mohamedgadallah closed 2 years ago

mohamedgadallah commented 2 years ago

I am trying to use the volcano plot (visuz.GeneExpression.volcano) put I always get this error.

AssertionError: dataframe contains non-numeric values in pv column.

However, all data in pv column is numeric

reneshbedre commented 2 years ago

@mohamedgadallah

Check if your p value column is numeric or not. Sometimes formatting issue creates a problem.

See this post that can help you https://stackoverflow.com/questions/19900202/how-to-determine-whether-a-column-variable-is-numeric-or-not-in-pandas-numpy/46423535