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

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more