I have a dataframe which contains value of log2fold change but it contains inf and NA values i searched all over stack-exchange tried their solution but most of them seems not working few of them works but its not giving me the desired output ,need help it should't be that difficult i suppose .
my data frame
GENE_NAME `HSC_VS_CMP` `HSC_VS_GMP``HSC_VS_Monocytes` ACTL6A -0.20084399 0.297430 -0.350876000 ACTR8 -0.2925280 -0.158551 1.10747 AICDA inf NA inf ANP32B -0.6549 -0.615725 -0.35858
I get error like this " default method not implemented for type 'list' "
So please suggest me how to remove all the inf and NA from the data frame