library(SingleR)
hpca.se <- HumanPrimaryCellAtlasData()
hpca.se
library(scRNAseq)
hESCs <- LaMannoBrainData('human-es')
hESCs <- hESCs[,1:100]
# Restrict to common genes between test and reference data:
library(scater)
common <- intersect(rownames( hESCs ), rownames( hpca.se ))
hpca.se <- hpca.se[common,]
hESCs <- hESCs[common,]
hESCs <- logNormCounts(hESCs)
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘logNormCounts’ for signature ‘"Seurat"’
Can someone help me why im getting this error?
I added formatting to your post so that it is readable. Also note that you are asking a question rather than providing a tutorial.