someone can say to me in which library i can find "tpm" in rstudio?
It depends on what it does. It could be this one: tpm function - RDocumentation
Z.score_logtpm1 =scale(log.tpm.one)
the error is " object log.tpm.one not found
It looks like log.tpm.one is a vector of numbers because scale() normalises the vector (creating the z-score).