exomeCopy tutorial steps
1
0
Entering edit mode
@brett-spurrier-6334
Last seen 9.6 years ago
Hi there, I am trying to use *exomeCopy* to discover any CNVs in a particular gene (although analyzing the entire exome is idea). I am stepping through the R steps found in: http://bioconductor.org/packages/devel/bioc/vignettes/exomeCopy/inst/d oc/exomeCopy.pdf but I get lost when I reach the line: counts[["GC.sq"]] <- example.counts$GC^2 I have no idea where example comes from? And it's referenced in later steps as well. Can someone help me figure out what or where the example object should come from? Thanks! Brett [[alternative HTML version deleted]]
• 1.0k views
ADD COMMENT
0
Entering edit mode
@vincent-j-carey-jr-4
Last seen 5 weeks ago
United States
On Wed, Jan 15, 2014 at 7:41 PM, Brett Spurrier <brett.spurrier@gmail.com>wrote: > Hi there, > > I am trying to use *exomeCopy* to discover any CNVs in a particular gene > (although analyzing the entire exome is idea). > > I am stepping through the R steps found in: > > http://bioconductor.org/packages/devel/bioc/vignettes/exomeCopy/inst /doc/exomeCopy.pdf > > but I get lost when I reach the line: > counts[["GC.sq"]] <- example.counts$GC^2 > > the author should respond, but my guess is that this is just an error in the vignette, as this part comes from an eval=FALSE section. example.counts is undefined at that point in the code chunk; i think "counts" is intended, as counts$GC has just been defined, and this is just a squaring and saving of that quantity. if you look further down in the vignette there are executable lines involving example.counts where this variable seems to be properly defined > I have no idea where example comes from? And it's referenced in later steps > as well. > > Can someone help me figure out what or where the example object should come > from? > > Thanks! > Brett > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
Thanks for catching this, I've fixed this now. It should read counts[["GC.sq"]] <- counts$GC^2 and, two lines below counts[["width"]] <- width(counts) ​Mike​ On Thu, Jan 16, 2014 at 6:18 AM, Vincent Carey <stvjc@channing.harvard.edu>wrote: > On Wed, Jan 15, 2014 at 7:41 PM, Brett Spurrier <brett.spurrier@gmail.com> >wrote: > > > Hi there, > > > > I am trying to use *exomeCopy* to discover any CNVs in a particular gene > > (although analyzing the entire exome is idea). > > > > I am stepping through the R steps found in: > > > > > http://bioconductor.org/packages/devel/bioc/vignettes/exomeCopy/inst /doc/exomeCopy.pdf > > > > but I get lost when I reach the line: > > counts[["GC.sq"]] <- example.counts$GC^2 > > > > > the author should respond, but my guess is that this is just an error in > the vignette, as this part comes from an eval=FALSE section. > > example.counts is undefined at that point in the code chunk; i think > "counts" > is intended, as counts$GC has just been defined, and this is just a > squaring and > saving of that quantity. if you look further down in the vignette there > are executable > lines involving example.counts where this variable seems to be properly > defined > > > > > I have no idea where example comes from? And it's referenced in later > steps > > as well. > > > > Can someone help me figure out what or where the example object should > come > > from? > > > > Thanks! > > Brett > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor@r-project.org > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > Search the archives: > > http://news.gmane.org/gmane.science.biology.informatics.conductor > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD REPLY

Login before adding your answer.

Traffic: 396 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6