Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Eric Berger
Your problem is that the command you entered > the_data<-read.csv(file=“c:/file_name.csv,header=TRUE,sep=“,”) is missing a double quote after the .csv. The statement should be > the_data<-read.csv(file=“c:/file_name.csv",header=TRUE,sep=“,”) The '+' sign is a prompt from R that indicates it has

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Hello all, To begin my analysis, I downloaded two TCGA datasets (GBM and LGG), both csv files, onto on r script after loading the cBioLite package. Following this, I inputted the following argument... > the_data<-read.csv(file=“c:/file_name.csv,header=TRUE,sep=“,”) Upon running the line I rece

Re: [R] Using a different compiler to create a package with source code

2018-08-26 Thread Erin Hodgess
OK. Thanks for the info! Sincerely, Erin Erin Hodgess, PhD mailto: erinm.hodg...@gmail.com On Sun, Aug 26, 2018 at 8:44 PM Jeff Newmiller wrote: > Wrong list, though you will probably need to recompile R itself and every > other package you want to use in conjunction with this special packag

Re: [R] Using a different compiler to create a package with source code

2018-08-26 Thread Jeff Newmiller
Wrong list, though you will probably need to recompile R itself and every other package you want to use in conjunction with this special package in order to do this... and you may not find many or even any people interested in helping as a result. On August 26, 2018 7:40:15 PM PDT, Erin Hodgess

[R] Using a different compiler to create a package with source code

2018-08-26 Thread Erin Hodgess
Hello! I need to use the PGI compiler for a new package. Should I ask here or the development list, please? Sorry for the airspace if I'm on the wrong list. Thanks, Erin Erin Hodgess, PhD mailto: erinm.hodg...@gmail.com [[alternative HTML version deleted]] ___

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Caitlin, Perhaps that is the problem. To be more specific, the data was transferred from the TCGA database to a CSV file... there are technically two separate files (CSV) for this analysis one for GBM and one for LGG. Both CVS files were then individually downloaded onto my open R console. Up

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Caitlin
No worries Spencer. There is no downloaded data? Nothing is physically stored on your hard drive? The dot in the path would be interpreted (no pun intended!) as something like the following: If the TCGA data was stored in a file named "tcga_data.dat" and it was in a directory named "C:\spencer", t

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Caitlin, Forgive me, but I’m not quite sure exactly what your question is asking. The data is originally from the TCGA and I have it downloaded onto another R script. I opened a new script to perform the functions I posted to this forum because I was unable to input any other commands into the c

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Thank you! I will make note of that. Unfortunately, lines 1 and 4 of the first portion of this analysis appear to be where the error begins... to which several subsequent lines also come up as ‘errored’. Perhaps this is an issue of the capitalization and/or spacing (something within the text)? The

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Bert Gunter
You should probably post this on the Bioconductor list rather then here, as you would more likely find the expertise you seek there. You are using Bioconductor packages after all. https://support.bioconductor.org/ Cheers, Bert On Sun, Aug 26, 2018 at 2:09 PM Spencer Brackett < spbracket...@sain

Re: [R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Thanks! Will do. On Sun, Aug 26, 2018 at 5:37 PM Bert Gunter wrote: > You should probably post this on the Bioconductor list rather then here, > as you would more likely find the expertise you seek there. You are using > Bioconductor packages after all. > > https://support.bioconductor.org/ > >

[R] Help with DNA Methylation Analysis

2018-08-26 Thread Spencer Brackett
Good evening, I am attempting to run the following analysis on TCGA data, however something is being reported as an error in my arguments... any ideas as to what is incorrect in the following? Thanks! 1 library(TCGAbiolinks) 2 3 # Download the DNA methylation data: HumanMethylation450 LGG and G

Re: [R] Plots in ioslides and R markdown

2018-08-26 Thread Duncan Murdoch
On 26/08/2018 4:40 AM, Patrick Connolly wrote: On Sat, 25-Aug-2018 at 08:10PM -0400, Duncan Murdoch wrote: |> On 25/08/2018 7:37 PM, Patrick Connolly wrote: |> >On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> > |> >|> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >|> >--- |> >

Re: [R] Multiple counters in a single for loop

2018-08-26 Thread Duncan Murdoch
On 26/08/2018 3:10 AM, Jeremie Juste wrote: Duncan Murdoch writes: for ( i in 1:length(var1)){ This is generally a bad idea: if length(var1) == 0, it does the wrong thing, since 1:0 is c(1L, 0L). Better to use for ( i in seq_along(var1) ) { granted. One should check the validity of th

Re: [R] Plots in ioslides and R markdown

2018-08-26 Thread Patrick Connolly
On Sat, 25-Aug-2018 at 08:10PM -0400, Duncan Murdoch wrote: |> On 25/08/2018 7:37 PM, Patrick Connolly wrote: |> >On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> > |> >|> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >|> >--- |> >|> >title: "Barking up the wrong tree" |> >|> >au

Re: [R] Multiple counters in a single for loop

2018-08-26 Thread Jérémie Juste
Of course I meant >If the length of var1 should not be 0 so stopifnot(length(var)>0) On Sun, Aug 26, 2018 at 9:10 AM, Jeremie Juste wrote: > Duncan Murdoch writes: > > >> for ( i in 1:length(var1)){ > > > > This is generally a bad idea: if length(var1) == 0, it does the wrong > > thing, sinc

Re: [R] Multiple counters in a single for loop

2018-08-26 Thread Jeremie Juste
Duncan Murdoch writes: >> for ( i in 1:length(var1)){ > > This is generally a bad idea: if length(var1) == 0, it does the wrong > thing, since 1:0 is c(1L, 0L). Better to use > > for ( i in seq_along(var1) ) { > granted. One should check the validity of their variables before using them but I