how to trigger an analysis from within inside running analysis

how to trigger an analysis from within inside running analysis

Hello,

I'm trying to trigger an analysis from inside another analysis. 
But I'm having issues initiating new Analyses class.. what is the format, what parameters does it take? token seem not to work. Also once I have the class I understand that I should call something like: analisys.run(analysisID, scope).
Anyone here who knows how to run it?

Thanks
Patryk