Hello, I'm searching for a way to calculate the `ESTIMATE tumor purity,` using genes expression matrix. 
I found something close, https://github.com/mwsill/RFpurify

However this doesn't seem suitable for RNA-seq data, is was trained on methylation array data.

Any suggestions for such a package in R?
Just in case anyone faces this problem in the future, here is the link for the updated `estimate package` on github:

https://github.com/KaiAragaki/tidyestimate

for some reason this package is hidden. After days of searching I have finally found it. 