I am trying to go through the following scRNA-seq tutorial.
But the line sce <- newSCESet(countData=all.counts) is not working anymore with the most up-to-date version of scater. Now we should use SingleCellExperiment function instead, so when trying to do the following:
sce <- SingleCellExperiment(assays = list(counts = all.counts))
I am getting the error:
Error in seq_len(ncol(assay)) :
argument must be coercible to non-negative integer
In addition: Warning message:
In seq_len(ncol(assay)) : first element used of 'length.out' argument
Any help would be greatly appreciated.