joey711 / phyloseq

phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
http://joey711.github.io/phyloseq/
586 stars 186 forks source link

Error: unable to find an inherited method for function ‘normalize’ for signature ‘object = "phyloseq"’ #1768

Open Saeedjaanz opened 3 months ago

Saeedjaanz commented 3 months ago

Transform OTU table

ps.sp.trans <- transform_sample_counts(ps.sp, function(x) log10(x))

Im trying to normalize a transformed phyloseq (which I did sucesssfully) object; ps.sp is a Large Phyloseq object in the above line of code. And for normalization, Im using:

Normalize OTU table

ps.sp.norm <- normalize(ps.sp.trans, method = "CSS")

ERROR:

normalize(ps.sp.trans, method = "CSS") Error: unable to find an inherited method for function ‘normalize’ for signature ‘object = "phyloseq"’