**40**wrote:

Hi all,

I am having trouble with the expressionBarplot function on cummeRbund and was wondering if anyone could help me.

I want to look at the expression plot of a manually created geneset. I have worked through several already without any problems, but this particular set is pulling up the below error when I try to generate a barplot:

Error in seq.default(min, max, by = by) : 'to' cannot be NA, NaN or infinite

I have been through the diffData section for the geneset and removed any genes with -inf values for log2_fold_change from the analysis but this was unsuccessful. I also tried setting a pseudocount and log transforming the data without any luck.

I have been unable to find any other potentially problematic NA, NaN of infinite characters but I'm not really sure where exactly I should be looking for them to begin with as I don't really know which data files expressionBarplot is actually reading in.

Does anyone have a better idea of where I might find the problem characters, or has anyone encountered the same problem before? I might just be being a little thick here!

Thanks!