Question: How to set up TCGAbiolinks in R studio?
0
gravatar for elizabethR
2.3 years ago by
elizabethR50
elizabethR50 wrote:

Hey

I am trying to set up TCGABiolinks in R studio, starting by downloading and collating data and then doing differential expression analysis of RNASeq results. I have a good idea after extensive research of what I need to do to analyse my data and have read the manual many times. However I have two problems thats stopping me in trying to set this up. Could anyone please help?

  1. Ive downloaded and opened the package TCGA biolinks. Ive located the TCGA Assembler file that I need to access and download the data. I managed to set the working directory to this folder as advised in the manual but when I try to source Modules A and B I get repeated errors:

I type > source("./Module_A.r")

It tells me "Error in file(filename, "r", encoding = encoding) : cannot open the connection In addition: Warning message: In file(filename, "r", encoding = encoding) : cannot open file './Module_A.r': No such file or directory"

Ive tried every variation of the command file like removing the underscore and the r suffix and still get the same problem. Looking in the actual folder there are no r files theyre all m files. What am I doing wrong? My understanding is I need to source these folders to allow me to then undertake the next steps.

  1. The second problem is regarding traverseresultfile. My understanding is that I need to set this up to allow the computer to identify the datasets I will then query and subsequently tell it to download. There is no clear instruction on how to create one of these. The traverseresultfile in Module A is from 2013 so desperately needs updating. Can anyone help me with this?

Many many thanks for any help or advice you can give me. Im at my wits end!

rna-seq R • 2.6k views
ADD COMMENTlink modified 17 months ago by woodhaha0 • written 2.3 years ago by elizabethR50
1

TCGAbiolinks (https://www.bioconductor.org/packages/release/bioc/vignettes/TCGAbiolinks/inst/doc/tcgaBiolinks.html) and TCGA Assembler (http://www.compgenome.org/TCGA-Assembler/) are two different package. TCGAbiolinks is very easy to use than TCGA-Assembler. For TCGA-Assembler you need to install some other dependent packages.

I tried and its working:

setwd("/Users/aa/xxx//TCGA-Assembler")
install.packages("httr_0.5.tar.gz")  
library(HGNChelper)  
source("./Module_A.r");
source("./Module_B.r");
ADD REPLYlink written 2.3 years ago by Mike1.0k

Thank you Mike :) It is now telling me that httr_0.5.tar.gz is not available for r studio version 3.2.5. Are there other variants of that file for different versions and where may I find them? Im not certain I understand where httr_0.5 tar file is sourcing from

ADD REPLYlink written 2.3 years ago by elizabethR50

what is problem in TCGAbiolinks? which is much easier and well explained manual.

download file from bellow link and put in same folder & install,

install.packages("httr_0.5.tar.gz")

https://cran.r-project.org/src/contrib/Archive/httr/

ADD REPLYlink modified 2.3 years ago • written 2.3 years ago by Mike1.0k
0
gravatar for giacomo.spallucci95
2.1 years ago by
giacomo.spallucci950 wrote:

I personally use TCGAbiolinks. It works fine and it is much simpler than the other packages, also now that they changed downloading server (GDC)

ADD COMMENTlink modified 2.1 years ago • written 2.1 years ago by giacomo.spallucci950
0
gravatar for EagleEye
2.1 years ago by
EagleEye5.6k
Sweden
EagleEye5.6k wrote:

Since TCGA has been recently moved to new GDC portal, TCGA-Assembler is out of service. But TCGAbiolinks has been updated to support new GDC portal, still for some of the functions work is in progress.

ADD COMMENTlink modified 2.1 years ago • written 2.1 years ago by EagleEye5.6k
0
gravatar for woodhaha
17 months ago by
woodhaha0
woodhaha0 wrote:

The TCGA assembler pkg has also updated you can try the new version

ADD COMMENTlink written 17 months ago by woodhaha0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1460 users visited in the last hour