Public
Edited
Dec 28
Insert cell
Insert cell
Insert cell
module = import("https://episphere.github.io/msig/main.js")
// module = import("http://127.0.0.1:5500/main.js")
Insert cell
Insert cell
mSigSDK = module.mSigSDK
Insert cell
data = await mSigSDK.mSigPortal.mSigPortalData.getMutationalSignatureActivityData('PCAWG','WGS','COSMIC_v3_Signatures_GRCh37_SBS96','',100000000)
Insert cell
mutSpecData = await mSigSDK.mSigPortal.mSigPortalData.getMutationalSpectrumData('PCAWG',null, 'WGS','','SBS', 96)
Insert cell
Insert cell
Insert cell
mSigSDK.mSigPortal.mSigPortalPlots.plotMSPrevalenceData("prevalence", data)
Insert cell
Insert cell
processedData = mSigSDK.machineLearning.preprocessData(mutSpecData, data, "mSigPortal")
Insert cell
Insert cell
Insert cell
results = mSigSDK.machineLearning.kFoldCV(processedData.Xs,processedData.Ys, 10, "MLR")
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more