I'm getting an error message when running the following:
ce <- ClusterExperiment(heatdata, heatclus, transformation = log1p)
The error message is :
Error in .checkTransform(out) :
User-supplied transformation produces error on the input data
matrix:
Error in .local(object, ...) :
User-supplied transFun produces NA values
In addition: Warning message:
In transFun(object) : NaNs produced
However any(is.na(heatdata)) is FALSE and so is any(is.na(heatclus)) and when I look manually I also can't see any empty values.
When I run ce <- ClusterExperiment(heatdata, heatclus) without the transformation it doesn't give me an error message but subsequent plotting using the following doesn't produce a graph (no error message either though:
Hi,
I'm getting an error message when running the following:
The error message is :
However any(is.na(heatdata)) is FALSE and so is any(is.na(heatclus)) and when I look manually I also can't see any empty values.
When I run ce <- ClusterExperiment(heatdata, heatclus) without the transformation it doesn't give me an error message but subsequent plotting using the following doesn't produce a graph (no error message either though:
For context: The piece of code I'm trying to run comes from https://broadinstitute.github.io/2019_scWorkshop/functional-pseudotime-analysis.html and is for finding DE genes along a pseudotime with heatmap plot. Entire script looks like this:
Please let me know what you think!