Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TCGADataTool

Guides

  • TCGA Data Tool

Tech Notes

  • Custom Entities
  • Data Exploration
  • Data Modeling
  • Data Visualization
  • Genomic Data
  • Images Download
  • Property Standard Name
  • User Interface

Symbols

  • buildDesignMatrix
  • buildModel
  • cleanRawData
  • columnHeaderRiskClassSummary
  • downloadGenomicData
  • dynamicallyExploreThreshold
  • exampleDataTCGA
  • getHistologicalImages
  • getPotentialPredictors
  • importGenomicDataFile
  • inspectPotentialPredictors
  • modelMeasurementsAtThreshold
  • overallSurvivalPlot
  • progressionFreeSurvivalPlot
  • pullDataSlice
  • radiologicalImagesBatchProcessing
  • swimmerPlot
  • TCGADataToolUserInterface
JaneShenGunther`TCGADataTool`
importGenomicDataFile
​
importGenomicDataFile
[filePath,{category,subcategory}]
imports the file located at
filePath
according to its data category/subcategory.
​
Details and Options

Examples  
(3)
Basic Examples  
(1)
Download genomic data for a single patient UUID in TCGA-CESC project:
In[1]:=
project="TCGA-CESC";​​patientUUID={"eb0eb159-732e-43ff-a402-7f2d9f67daa8"};​​genomicCategory={"Copy Number Variation","Copy Number Segment"};
Evaluate the following cell to download methylation beta values for the selected patient using GDC API:
In[2]:=
EchoTiming​​downloadResults=​​
downloadGenomicData
[project,genomicCategory,​​ "ValidPatientUUIDs"patientUUID,"DownloadTool""GDCAPI"]​​
Fri 17 Feb 2023 11:52:10 Starting download of 1 files. Total files size
26.057
kB
Fri 17 Feb 2023 11:52:10 Starting download of file Manifest /private/var/folders/9s/ssw_w4pj5tsfxv3r6yrjj1mw0000gn/T/TCGADataTool/FileManifest_TCGA-CESC_CopyNumberVariation_CopyNumberSegment.txt using GDC API.
Fri 17 Feb 2023 11:52:10 Starting download of 1 files.
Fri 17 Feb 2023 11:52:10 Downloading file 60e4bb9f-0fa5-436b-9b18-bdc2483681ae from GDC API to /private/var/folders/9s/ssw_w4pj5tsfxv3r6yrjj1mw0000gn/T/TCGADataTool...
Fri 17 Feb 2023 11:52:11 Download of file 60e4bb9f-0fa5-436b-9b18-bdc2483681ae successfull
⌚
0.964885
Out[2]=
{id60e4bb9f-0fa5-436b-9b18-bdc2483681ae,file_nameCROZE_p_TCGA_254_256_255_N_GenomeWideSNP_6_E07_1301460.grch38.seg.v2.txt,md5sumde289cc7639c7933c5d2c16e4cf6412b,statereleased,file_size26057,case_ids{eb0eb159-732e-43ff-a402-7f2d9f67daa8},num_cases1}
Import the file:
In[3]:=
filePath=FileNameJoin[{$TemporaryDirectory,"TCGADataTool",downloadResults〚1〛["id"],downloadResults〚1〛["file_name"]}]
Out[3]=
/private/var/folders/9s/ssw_w4pj5tsfxv3r6yrjj1mw0000gn/T/TCGADataTool/60e4bb9f-0fa5-436b-9b18-bdc2483681ae/CROZE_p_TCGA_254_256_255_N_GenomeWideSNP_6_E07_1301460.grch38.seg.v2.txt
In[4]:=
fileContent=
importGenomicDataFile
[filePath,genomicCategory];
In[5]:=
fileContent//Keys
Out[5]=
{Data,Metadata}
In[6]:=
fileContent["Metadata"]
Out[6]=
{}
In[7]:=
fileContent["Data"]〚;;3〛//Dataset
Out[7]=
AliquotID
Chromosome
StartPosition
EndPosition
NumberOfProbes
SegmentMean
14c6cf34-5659-4fd6-a745-b788214a378a
chr1
62920
98588
12
0.3885
14c6cf34-5659-4fd6-a745-b788214a378a
chr1
98602
2097298
344
-0.0298
14c6cf34-5659-4fd6-a745-b788214a378a
chr1
2101817
3875097
690
-0.8154
Options  
(2)

SeeAlso
downloadGenomicData
TechNotes
▪
Genomic Data
RelatedGuides
▪
TCGA Data Tool
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com