
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
A Node.js and browser module for querying the Cancer Genomics Data Server (CGDS), hosted by the Computational Biology Center at Memorial-Sloan-Kettering Cancer Center (MSKCC). Read more about this service at the cBio Cancer Genomics Portal.
var CGDS, cgds;
CGDS = require("cgds");
cgds = new CGDS();
cgds.getMutationData("brca_tcga_mutations", ["TP53", "GATA3"], "brca_tcga_all", function (err, res) {
console.log(res);
});
Install it:
npm install cgds
Require it:
var CGDS = require("cgds");
Instantiate a CGDS client:
var cgds = new CGDS();
See below for a list of methods.
Include it:
<script src="http://agrueneberg.github.io/CGDS-JS/cgds.min.js"></script>
Require it:
var CGDS = require("cgds");
Instantiate a CGDS client (you will need a CORS proxy such as Proxer for this):
var cgds = new CGDS({
proxy: "http://example.com/corsproxy?url="
});
See below for a list of methods.
See Web API for more details.
Retrieves a list of all the clinical types of cancer.
callback
Retrieves meta-data regarding cancer studies.
callback
Retrieves meta-data regarding all genetic profiles, e.g. mutation or copy number profiles, stored about a specific cancer study.
cancer_study_id
callback
Retrieves meta-data regarding all case lists stored about a specific cancer study.
cancer_study_id
callback
Retrieves genomic profile data for one or more genes.
case_set_id
genetic_profile_id
gene_list
callback
Retrieves the full set of annotated extended mutation data.
genetic_profile_id
gene_list
case_set_id
(optional)callback
Retrieves overall survival, disease free survival and age at diagnosis for specified cases.
case_set_id
callback
FAQs
A module for querying the Cancer Genomics Data Server (CGDS).
The npm package cgds receives a total of 1 weekly downloads. As such, cgds popularity was classified as not popular.
We found that cgds demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.