23.2 KB
/srv/reproducible-results/rbuild-debian/r-b-build.MKzp49px/b1/r-bioc-genomicfeatures_1.54.3+dfsg-1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.MKzp49px/b2/r-bioc-genomicfeatures_1.54.3+dfsg-1_amd64.changes
234 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·e1ea26ec324cdd72c07332c0ef877c96·1647132·gnu-r·optional·r-bioc-genomicfeatures_1.54.3+dfsg-1_all.deb1 ·2b16876f48d1b20387133fec1e6e2284·1654264·gnu-r·optional·r-bioc-genomicfeatures_1.54.3+dfsg-1_all.deb
22.8 KB
r-bioc-genomicfeatures_1.54.3+dfsg-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-02-05·09:01:08.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-02-05·09:01:08.000000·debian-binary
2 -rw-r--r--···0········0········0·····3052·2024-02-05·09:01:08.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3056·2024-02-05·09:01:08.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1643888·2024-02-05·09:01:08.000000·data.tar.xz3 -rw-r--r--···0········0········0··1651016·2024-02-05·09:01:08.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
22.1 KB
data.tar.xz
22.1 KB
data.tar
2.66 KB
file list
    
Offset 20, 16 lines modifiedOffset 20, 16 lines modified
20 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/20 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/
21 -rw-r--r--···0·root·········(0)·root·········(0)·····1058·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures21 -rw-r--r--···0·root·········(0)·root·········(0)·····1058·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures
22 -rw-r--r--···0·root·········(0)·root·········(0)··1169133·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures.rdb22 -rw-r--r--···0·root·········(0)·root·········(0)··1169133·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures.rdb
23 -rw-r--r--···0·root·········(0)·root·········(0)·····9968·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures.rdx23 -rw-r--r--···0·root·········(0)·root·········(0)·····9968·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/R/GenomicFeatures.rdx
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/
25 -rw-r--r--···0·root·········(0)·root·········(0)·····4269·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.R25 -rw-r--r--···0·root·········(0)·root·········(0)·····4269·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.R
26 -rw-r--r--···0·root·········(0)·root·········(0)····16701·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.Rmd26 -rw-r--r--···0·root·········(0)·root·········(0)····16701·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.Rmd
27 -rw-r--r--···0·root·········(0)·root·········(0)····30644·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.html27 -rw-r--r--···0·root·········(0)·root·········(0)····30641·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.html
28 -rw-r--r--···0·root·········(0)·root·········(0)····21554·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.md28 -rw-r--r--···0·root·········(0)·root·········(0)····21551·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.md
29 -rw-r--r--···0·root·········(0)·root·········(0)·····1783·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/index.html29 -rw-r--r--···0·root·········(0)·root·········(0)·····1783·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/doc/index.html
30 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/30 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/
31 -rw-r--r--···0·root·········(0)·root·········(0)····45056·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/Biomart_Ensembl_sample.sqlite31 -rw-r--r--···0·root·········(0)·root·········(0)····45056·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/Biomart_Ensembl_sample.sqlite
32 -rw-r--r--···0·root·········(0)·root·········(0)····34816·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/FeatureDb.sqlite32 -rw-r--r--···0·root·········(0)·root·········(0)····34816·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/FeatureDb.sqlite
33 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/33 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/
34 -rw-r--r--···0·root·········(0)·root·········(0)·····9684·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/ITAG4.1_gene_models.subset.gff34 -rw-r--r--···0·root·········(0)·root·········(0)·····9684·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/ITAG4.1_gene_models.subset.gff
35 -rw-r--r--···0·root·········(0)·root·········(0)···263054·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/NC_011025.gff35 -rw-r--r--···0·root·········(0)·root·········(0)···263054·2024-02-05·09:01:08.000000·./usr/lib/R/site-library/GenomicFeatures/extdata/GFF3_files/NC_011025.gff
18.4 KB
./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.html
    
Offset 139, 15 lines modifiedOffset 139, 15 lines modified
139 </style>139 </style>
140 <link·rel="stylesheet"·href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">140 <link·rel="stylesheet"·href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">
141 </head>141 </head>
142 <body>142 <body>
143 <div·class="frontmatter">143 <div·class="frontmatter">
144 <div·class="title"><h1>Making·and·Utilizing·TxDb·Objects</h1></div>144 <div·class="title"><h1>Making·and·Utilizing·TxDb·Objects</h1></div>
145 <div·class="author"><h2>Marc·Carlson,·Patrick·Aboyoun,·Hervé·Pagès,·Seth·Falcon,·Martin·Morgan</h2></div>145 <div·class="author"><h2>Marc·Carlson,·Patrick·Aboyoun,·Hervé·Pagès,·Seth·Falcon,·Martin·Morgan</h2></div>
146 <div·class="date"><h3>Wednesday,·July·09,·2025</h3></div>146 <div·class="date"><h3>Friday,·June·07,·2024</h3></div>
147 </div>147 </div>
148 <div·class="body">148 <div·class="body">
149 <h2·id="introduction">Introduction</h2>149 <h2·id="introduction">Introduction</h2>
150 <p>The·<code>GenomicFeatures</code>·package·retrieves·and·manages150 <p>The·<code>GenomicFeatures</code>·package·retrieves·and·manages
151 transcript-related·features·from·the·UCSC·Genome151 transcript-related·features·from·the·UCSC·Genome
152 Bioinformatics\footnote{(<a·href="https://genome.ucsc.edu/)%7D">https://genome.ucsc.edu/)}</a>·and152 Bioinformatics\footnote{(<a·href="https://genome.ucsc.edu/)%7D">https://genome.ucsc.edu/)}</a>·and
153 BioMart\footnote{(<a·href="http://www.biomart.org/)%7D">http://www.biomart.org/)}</a>·data·resources.·The153 BioMart\footnote{(<a·href="http://www.biomart.org/)%7D">http://www.biomart.org/)}</a>·data·resources.·The
Offset 234, 24 lines modifiedOffset 234, 24 lines modified
234 to·the·seqlevels·stored·in·the·db),·then·set·the·seqlevels·to234 to·the·seqlevels·stored·in·the·db),·then·set·the·seqlevels·to
235 <code>seqlevels0(txdb)</code>.</p>235 <code>seqlevels0(txdb)</code>.</p>
236 <pre><code·class="language-r">seqlevels(txdb)·&lt;-·seqlevels0(txdb)236 <pre><code·class="language-r">seqlevels(txdb)·&lt;-·seqlevels0(txdb)
237 </code></pre>237 </code></pre>
238 <pre><code>##·Error·in·seqlevels0(txdb):·could·not·find·function·&quot;seqlevels0&quot;238 <pre><code>##·Error·in·seqlevels0(txdb):·could·not·find·function·&quot;seqlevels0&quot;
239 </code></pre>239 </code></pre>
240 <p>\begin{Exercise}·Use·</code>seqlevels<code>·to·set·only·chromsome·15·to·be·active.··BTW,·the·rest·of·this·vignette·will·assume·you·have·succeeded·at·this.·\end{Exercise}240 <p>\begin{Exercise}·Use·</code>seqlevels<code>·to·set·only·chromsome·15·to·be·active.··BTW,·the·rest·of·this·vignette·will·assume·you·have·succeeded·at·this.·\end{Exercise}
241 `T;\begin{Solution}</p>241 `Ej\begin{Solution}</p>
242 <pre><code·class="language-r">seqlevels(txdb)·&lt;-·&quot;chr15&quot;242 <pre><code·class="language-r">seqlevels(txdb)·&lt;-·&quot;chr15&quot;
243 </code></pre>243 </code></pre>
244 <pre><code>##·Error:·object·'txdb'·not·found244 <pre><code>##·Error:·object·'txdb'·not·found
245 </code></pre>245 </code></pre>
246 <pre><code·class="language-r">seqlevels(txdb)246 <pre><code·class="language-r">seqlevels(txdb)
247 </code></pre>247 </code></pre>
248 <pre><code>##·Error·in·seqlevels(txdb):·could·not·find·function·&quot;seqlevels&quot;248 <pre><code>##·Error·in·seqlevels(txdb):·could·not·find·function·&quot;seqlevels&quot;
249 </code></pre>249 </code></pre>
250 <p>\end{Solution}T;`</p>250 <p>\end{Solution}Ej`</p>
251 <h3·id="retrieving-data-using-the-select-method">Retrieving·data·using·the·select·method</h3>251 <h3·id="retrieving-data-using-the-select-method">Retrieving·data·using·the·select·method</h3>
252 <p>The·<code>TxDb</code>·objects·inherit·from·<code>AnnotationDb</code>252 <p>The·<code>TxDb</code>·objects·inherit·from·<code>AnnotationDb</code>
253 objects·(just·as·the·<code>ChipDb</code>·and·<code>OrgDb</code>·objects·do).253 objects·(just·as·the·<code>ChipDb</code>·and·<code>OrgDb</code>·objects·do).
254 One·of·the·implications·of·this·relationship·is·that·these·object254 One·of·the·implications·of·this·relationship·is·that·these·object
255 ought·to·be·used·in·similar·ways·to·each·other.··Therefore·we·have255 ought·to·be·used·in·similar·ways·to·each·other.··Therefore·we·have
256 written·supporting·<code>columns</code>,·<code>keytypes</code>,·<code>keys</code>256 written·supporting·<code>columns</code>,·<code>keytypes</code>,·<code>keys</code>
257 and·<code>select</code>·methods·for·<code>TxDb</code>·objects.</p>257 and·<code>select</code>·methods·for·<code>TxDb</code>·objects.</p>
Offset 270, 25 lines modifiedOffset 270, 25 lines modified
270 <pre><code>##·Error·in·keytypes(txdb):·could·not·find·function·&quot;keytypes&quot;270 <pre><code>##·Error·in·keytypes(txdb):·could·not·find·function·&quot;keytypes&quot;
271 </code></pre>271 </code></pre>
272 <pre><code·class="language-r">select(txdb,·keys·=·keys,·columns=&quot;TXNAME&quot;,·keytype=&quot;GENEID&quot;)272 <pre><code·class="language-r">select(txdb,·keys·=·keys,·columns=&quot;TXNAME&quot;,·keytype=&quot;GENEID&quot;)
273 </code></pre>273 </code></pre>
274 <pre><code>##·Error·in·select(txdb,·keys·=·keys,·columns·=·&quot;TXNAME&quot;,·keytype·=·&quot;GENEID&quot;):·could·not·find·function·&quot;select&quot;274 <pre><code>##·Error·in·select(txdb,·keys·=·keys,·columns·=·&quot;TXNAME&quot;,·keytype·=·&quot;GENEID&quot;):·could·not·find·function·&quot;select&quot;
275 </code></pre>275 </code></pre>
276 <p>\begin{Exercise}·For·the·genes·in·the·example·above,·find·the·chromosome·and·strand·information·that·will·go·with·each·of·the·transcript·names.·\end{Exercise}276 <p>\begin{Exercise}·For·the·genes·in·the·example·above,·find·the·chromosome·and·strand·information·that·will·go·with·each·of·the·transcript·names.·\end{Exercise}
277 `T;\begin{Solution}</p>277 `Ej\begin{Solution}</p>
278 <pre><code·class="language-r">columns(txdb)278 <pre><code·class="language-r">columns(txdb)
279 </code></pre>279 </code></pre>
280 <pre><code>##·Error·in·columns(txdb):·could·not·find·function·&quot;columns&quot;280 <pre><code>##·Error·in·columns(txdb):·could·not·find·function·&quot;columns&quot;
281 </code></pre>281 </code></pre>
282 <pre><code·class="language-r">cols·&lt;-·c(&quot;TXNAME&quot;,·&quot;TXSTRAND&quot;,·&quot;TXCHROM&quot;)282 <pre><code·class="language-r">cols·&lt;-·c(&quot;TXNAME&quot;,·&quot;TXSTRAND&quot;,·&quot;TXCHROM&quot;)
283 select(txdb,·keys=keys,·columns=cols,·keytype=&quot;GENEID&quot;)283 select(txdb,·keys=keys,·columns=cols,·keytype=&quot;GENEID&quot;)
284 </code></pre>284 </code></pre>
285 <pre><code>##·Error·in·select(txdb,·keys·=·keys,·columns·=·cols,·keytype·=·&quot;GENEID&quot;):·could·not·find·function·&quot;select&quot;285 <pre><code>##·Error·in·select(txdb,·keys·=·keys,·columns·=·cols,·keytype·=·&quot;GENEID&quot;):·could·not·find·function·&quot;select&quot;
286 </code></pre>286 </code></pre>
287 <p>\end{Solution}T;`</p>287 <p>\end{Solution}Ej`</p>
288 <h3·id="methods-for-returning-granges-objects">Methods·for·returning·<code>GRanges</code>·objects</h3>288 <h3·id="methods-for-returning-granges-objects">Methods·for·returning·<code>GRanges</code>·objects</h3>
289 <p>Retrieving·data·with·select·is·useful,·but·sometimes·it·is·more289 <p>Retrieving·data·with·select·is·useful,·but·sometimes·it·is·more
290 convenient·to·extract·the·result·as·<code>GRanges</code>·objects.··This·is290 convenient·to·extract·the·result·as·<code>GRanges</code>·objects.··This·is
291 often·the·case·when·you·are·doing·counting·or·specialized·overlap291 often·the·case·when·you·are·doing·counting·or·specialized·overlap
292 operations·downstream.··For·these·use·cases·there·is·another·family·of292 operations·downstream.··For·these·use·cases·there·is·another·family·of
293 methods·available.</p>293 methods·available.</p>
294 <p>Perhaps·the·most·common·operations·for·a·<code>TxDb</code>·object294 <p>Perhaps·the·most·common·operations·for·a·<code>TxDb</code>·object
Offset 363, 15 lines modifiedOffset 363, 15 lines modified
363 </code></pre>363 </code></pre>
364 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'PR'·not·found364 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'PR'·not·found
365 </code></pre>365 </code></pre>
366 <p>The·<code>exons</code>·and·<code>cds</code>·functions·can·also·be·used366 <p>The·<code>exons</code>·and·<code>cds</code>·functions·can·also·be·used
367 in·a·similar·fashion·to·retrive·genomic·coordinates·for·exons·and367 in·a·similar·fashion·to·retrive·genomic·coordinates·for·exons·and
368 coding·sequences.</p>368 coding·sequences.</p>
369 <p>\begin{Exercise}·Use·</code>exons<code>to·retrieve·all·the·exons·from·chromosome·15.·How·does·the·length·of·this·compare·to·the·value·returned·by</code>transcripts<code>?·\end{Exercise}369 <p>\begin{Exercise}·Use·</code>exons<code>to·retrieve·all·the·exons·from·chromosome·15.·How·does·the·length·of·this·compare·to·the·value·returned·by</code>transcripts<code>?·\end{Exercise}
370 `T;\begin{Solution}</p>370 `Ej\begin{Solution}</p>
371 <pre><code·class="language-r">EX·&lt;-·exons(txdb)371 <pre><code·class="language-r">EX·&lt;-·exons(txdb)
372 </code></pre>372 </code></pre>
373 <pre><code>##·Error·in·exons(txdb):·could·not·find·function·&quot;exons&quot;373 <pre><code>##·Error·in·exons(txdb):·could·not·find·function·&quot;exons&quot;
374 </code></pre>374 </code></pre>
375 <pre><code·class="language-r">EX[1:4]375 <pre><code·class="language-r">EX[1:4]
376 </code></pre>376 </code></pre>
377 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found377 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found
Offset 380, 15 lines modifiedOffset 380, 15 lines modified
380 </code></pre>380 </code></pre>
381 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found381 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found
382 </code></pre>382 </code></pre>
383 <pre><code·class="language-r">length(GR)383 <pre><code·class="language-r">length(GR)
384 </code></pre>384 </code></pre>
385 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'GR'·not·found385 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'GR'·not·found
386 </code></pre>386 </code></pre>
387 <p>\end{Solution}T;`</p>387 <p>\end{Solution}Ej`</p>
388 <h3·id="working-with-grouped-features">Working·with·Grouped·Features</h3>388 <h3·id="working-with-grouped-features">Working·with·Grouped·Features</h3>
389 <p>Often·one·is·interested·in·how·particular·genomic·features·relate·to389 <p>Often·one·is·interested·in·how·particular·genomic·features·relate·to
390 each·other,·and·not·just·their·location.··For·example,·it·might·be·of390 each·other,·and·not·just·their·location.··For·example,·it·might·be·of
391 interest·to·group·transcripts·by·gene·or·to·group·exons·by·transcript.391 interest·to·group·transcripts·by·gene·or·to·group·exons·by·transcript.
392 Such·groupings·are·supported·by·the·<code>transcriptsBy</code>,392 Such·groupings·are·supported·by·the·<code>transcriptsBy</code>,
393 <code>exonsBy</code>,·and·<code>cdsBy</code>·functions.</p>393 <code>exonsBy</code>,·and·<code>cdsBy</code>·functions.</p>
394 <p>The·following·call·can·be·used·to·group·transcripts·by·genes:</p>394 <p>The·following·call·can·be·used·to·group·transcripts·by·genes:</p>
Offset 451, 28 lines modifiedOffset 451, 28 lines modified
451 unique·identifier·for·all·features.··In·this·situation,·the·group451 unique·identifier·for·all·features.··In·this·situation,·the·group
452 label·will·be·a·synthetic·ID·created·by·<code>GenomicFeatures</code>·to452 label·will·be·a·synthetic·ID·created·by·<code>GenomicFeatures</code>·to
453 keep·the·relations·between·features·consistent·in·the·database·this453 keep·the·relations·between·features·consistent·in·the·database·this
454 was·the·case·in·the·2nd·example.··Even·though·the·results·will454 was·the·case·in·the·2nd·example.··Even·though·the·results·will
455 sometimes·have·to·come·back·to·you·as·synthetic·IDs,·you·can·still455 sometimes·have·to·come·back·to·you·as·synthetic·IDs,·you·can·still
456 always·retrieve·the·original·IDs.</p>456 always·retrieve·the·original·IDs.</p>
457 <p>\begin{Exercise}·Starting·with·the·tx_ids·that·are·the·names·of·the·GRList·object·we·just·made,·use·</code>select<code>to·retrieve·that·matching·transcript·names.··Remember·that·the·list·used·a</code>by<code>·argument·=·&quot;tx&quot;,·so·the·list·is·grouped·by·transcript·IDs.·\end{Exercise}457 <p>\begin{Exercise}·Starting·with·the·tx_ids·that·are·the·names·of·the·GRList·object·we·just·made,·use·</code>select<code>to·retrieve·that·matching·transcript·names.··Remember·that·the·list·used·a</code>by<code>·argument·=·&quot;tx&quot;,·so·the·list·is·grouped·by·transcript·IDs.·\end{Exercise}
458 `T;\begin{Solution}</p>458 `Ej\begin{Solution}</p>
459 <pre><code·class="language-r">GRList·&lt;-·exonsBy(txdb,·by·=·&quot;tx&quot;)459 <pre><code·class="language-r">GRList·&lt;-·exonsBy(txdb,·by·=·&quot;tx&quot;)
460 </code></pre>460 </code></pre>
461 <pre><code>##·Error·in·exonsBy(txdb,·by·=·&quot;tx&quot;):·could·not·find·function·&quot;exonsBy&quot;461 <pre><code>##·Error·in·exonsBy(txdb,·by·=·&quot;tx&quot;):·could·not·find·function·&quot;exonsBy&quot;
462 </code></pre>462 </code></pre>
463 <pre><code·class="language-r">tx_ids·&lt;-·names(GRList)463 <pre><code·class="language-r">tx_ids·&lt;-·names(GRList)
464 </code></pre>464 </code></pre>
465 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'GRList'·not·found465 <pre><code>##·Error·in·eval(expr,·envir,·enclos):·object·'GRList'·not·found
466 </code></pre>466 </code></pre>
467 <pre><code·class="language-r">head(select(txdb,·keys=tx_ids,·columns=&quot;TXNAME&quot;,·keytype=&quot;TXID&quot;))467 <pre><code·class="language-r">head(select(txdb,·keys=tx_ids,·columns=&quot;TXNAME&quot;,·keytype=&quot;TXID&quot;))
468 </code></pre>468 </code></pre>
469 <pre><code>##·Error·in·select(txdb,·keys·=·tx_ids,·columns·=·&quot;TXNAME&quot;,·keytype·=·&quot;TXID&quot;):·could·not·find·function·&quot;select&quot;469 <pre><code>##·Error·in·select(txdb,·keys·=·tx_ids,·columns·=·&quot;TXNAME&quot;,·keytype·=·&quot;TXID&quot;):·could·not·find·function·&quot;select&quot;
470 </code></pre>470 </code></pre>
471 <p>\end{Solution}T;`</p>471 <p>\end{Solution}Ej`</p>
472 <p>Finally,·the·order·of·the·results·in·a·<code>GRangesList</code>·object·can472 <p>Finally,·the·order·of·the·results·in·a·<code>GRangesList</code>·object·can
473 vary·with·the·way·in·which·things·were·grouped.·In·most·cases·the473 vary·with·the·way·in·which·things·were·grouped.·In·most·cases·the
474 grouped·elements·of·the·<code>GRangesList</code>·object·will·be·listed·in474 grouped·elements·of·the·<code>GRangesList</code>·object·will·be·listed·in
475 the·order·that·they·occurred·along·the·chromosome.··However,·when475 the·order·that·they·occurred·along·the·chromosome.··However,·when
476 exons·or·CDS·parts·are·grouped·by·transcript,·they·will·instead·be476 exons·or·CDS·parts·are·grouped·by·transcript,·they·will·instead·be
477 grouped·according·to·their·position·along·the·transcript·itself.477 grouped·according·to·their·position·along·the·transcript·itself.
478 This·is·important·because·alternative·splicing·can·mean·that·the478 This·is·important·because·alternative·splicing·can·mean·that·the
Max diff block lines reached; 2350/9909 bytes (23.72%) of diff not shown.
8.63 KB
html2text {}
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 *\x8**\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ak\x8ki\x8in\x8ng\x8g·a\x8an\x8nd\x8d·U\x8Ut\x8ti\x8il\x8li\x8iz\x8zi\x8in\x8ng\x8g·T\x8Tx\x8xD\x8Db\x8b·O\x8Ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*1 *\x8**\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ak\x8ki\x8in\x8ng\x8g·a\x8an\x8nd\x8d·U\x8Ut\x8ti\x8il\x8li\x8iz\x8zi\x8in\x8ng\x8g·T\x8Tx\x8xD\x8Db\x8b·O\x8Ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
2 *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ar\x8rc\x8c·C\x8Ca\x8ar\x8rl\x8ls\x8so\x8on\x8n,\x8,·P\x8Pa\x8at\x8tr\x8ri\x8ic\x8ck\x8k·A\x8Ab\x8bo\x8oy\x8yo\x8ou\x8un\x8n,\x8,·H\x8He\x8er\x8rv\x8v?\x8é·P\x8Pa\x8ag\x8g?\x8ès\x8s,\x8,·S\x8Se\x8et\x8th\x8h·F\x8Fa\x8al\x8lc\x8co\x8on\x8n,\x8,·M\x8Ma\x8ar\x8rt\x8ti\x8in\x8n·M\x8Mo\x8or\x8rg\x8ga\x8an\x8n2 *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ar\x8rc\x8c·C\x8Ca\x8ar\x8rl\x8ls\x8so\x8on\x8n,\x8,·P\x8Pa\x8at\x8tr\x8ri\x8ic\x8ck\x8k·A\x8Ab\x8bo\x8oy\x8yo\x8ou\x8un\x8n,\x8,·H\x8He\x8er\x8rv\x8v?\x8é·P\x8Pa\x8ag\x8g?\x8ès\x8s,\x8,·S\x8Se\x8et\x8th\x8h·F\x8Fa\x8al\x8lc\x8co\x8on\x8n,\x8,·M\x8Ma\x8ar\x8rt\x8ti\x8in\x8n·M\x8Mo\x8or\x8rg\x8ga\x8an\x8n
3 *\x8**\x8**\x8**\x8**\x8*3 *\x8**\x8**\x8**\x8**\x8*
4 *\x8**\x8**\x8**\x8*·W.We.ed.dn.ne.es.sd.da.ay.y,.,·J.Ju.ul.ly.y·0.09.9,.,·2.20.02.25.5·*\x8**\x8**\x8**\x8*4 *\x8**\x8**\x8**\x8*·F.Fr.ri.id.da.ay.y,.,·J.Ju.un.ne.e·0.07.7,.,·2.20.02.24.4·*\x8**\x8**\x8**\x8*
5 *\x8**\x8**\x8**\x8**\x8*·I\x8In\x8nt\x8tr\x8ro\x8od\x8du\x8uc\x8ct\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*5 *\x8**\x8**\x8**\x8**\x8*·I\x8In\x8nt\x8tr\x8ro\x8od\x8du\x8uc\x8ct\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8*
6 The·GenomicFeatures·package·retrieves·and·manages·transcript-related·features6 The·GenomicFeatures·package·retrieves·and·manages·transcript-related·features
7 from·the·UCSC·Genome·Bioinformatics\footnote{(_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8g_\x8e_\x8n_\x8o_\x8m_\x8e_\x8._\x8u_\x8c_\x8s_\x8c_\x8._\x8e_\x8d_\x8u_\x8/_\x8)_\x8}·and7 from·the·UCSC·Genome·Bioinformatics\footnote{(_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8g_\x8e_\x8n_\x8o_\x8m_\x8e_\x8._\x8u_\x8c_\x8s_\x8c_\x8._\x8e_\x8d_\x8u_\x8/_\x8)_\x8}·and
8 BioMart\footnote{(_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8w_\x8w_\x8w_\x8._\x8b_\x8i_\x8o_\x8m_\x8a_\x8r_\x8t_\x8._\x8o_\x8r_\x8g_\x8/_\x8)_\x8}·data·resources.·The·package·is8 BioMart\footnote{(_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8w_\x8w_\x8w_\x8._\x8b_\x8i_\x8o_\x8m_\x8a_\x8r_\x8t_\x8._\x8o_\x8r_\x8g_\x8/_\x8)_\x8}·data·resources.·The·package·is
9 useful·for·ChIP-chip,·ChIP-seq,·and·RNA-seq·analyses.9 useful·for·ChIP-chip,·ChIP-seq,·and·RNA-seq·analyses.
10 suppressPackageStartupMessages(library('GenomicFeatures'))10 suppressPackageStartupMessages(library('GenomicFeatures'))
11 ##·Error·in·library("GenomicFeatures"):·there·is·no·package·called11 ##·Error·in·library("GenomicFeatures"):·there·is·no·package·called
Offset 67, 20 lines modifiedOffset 67, 20 lines modified
67 would·be·consulted·when·you·call·the·various·retrieval·methods…·If·you·need·to67 would·be·consulted·when·you·call·the·various·retrieval·methods…·If·you·need·to
68 reset·back·to·the·original·seqlevels·(i.e.·to·the·seqlevels·stored·in·the·db),68 reset·back·to·the·original·seqlevels·(i.e.·to·the·seqlevels·stored·in·the·db),
69 then·set·the·seqlevels·to·seqlevels0(txdb).69 then·set·the·seqlevels·to·seqlevels0(txdb).
70 seqlevels(txdb)·<-·seqlevels0(txdb)70 seqlevels(txdb)·<-·seqlevels0(txdb)
71 ##·Error·in·seqlevels0(txdb):·could·not·find·function·"seqlevels0"71 ##·Error·in·seqlevels0(txdb):·could·not·find·function·"seqlevels0"
72 \begin{Exercise}·Use72 \begin{Exercise}·Use
73 seqlevels·to·set·only·chromsome·15·to·be·active.·BTW,·the·rest·of·this·vignette73 seqlevels·to·set·only·chromsome·15·to·be·active.·BTW,·the·rest·of·this·vignette
74 will·assume·you·have·succeeded·at·this.·\end{Exercise}·`T;\begin{Solution}74 will·assume·you·have·succeeded·at·this.·\end{Exercise}·`Ej\begin{Solution}
75 seqlevels(txdb)·<-·"chr15"75 seqlevels(txdb)·<-·"chr15"
76 ##·Error:·object·'txdb'·not·found76 ##·Error:·object·'txdb'·not·found
77 seqlevels(txdb)77 seqlevels(txdb)
78 ##·Error·in·seqlevels(txdb):·could·not·find·function·"seqlevels"78 ##·Error·in·seqlevels(txdb):·could·not·find·function·"seqlevels"
79 \end{Solution}T;`79 \end{Solution}Ej`
80 *\x8**\x8**\x8**\x8*·R\x8Re\x8et\x8tr\x8ri\x8ie\x8ev\x8vi\x8in\x8ng\x8g·d\x8da\x8at\x8ta\x8a·u\x8us\x8si\x8in\x8ng\x8g·t\x8th\x8he\x8e·s\x8se\x8el\x8le\x8ec\x8ct\x8t·m\x8me\x8et\x8th\x8ho\x8od\x8d·*\x8**\x8**\x8**\x8*80 *\x8**\x8**\x8**\x8*·R\x8Re\x8et\x8tr\x8ri\x8ie\x8ev\x8vi\x8in\x8ng\x8g·d\x8da\x8at\x8ta\x8a·u\x8us\x8si\x8in\x8ng\x8g·t\x8th\x8he\x8e·s\x8se\x8el\x8le\x8ec\x8ct\x8t·m\x8me\x8et\x8th\x8ho\x8od\x8d·*\x8**\x8**\x8**\x8*
81 The·TxDb·objects·inherit·from·AnnotationDb·objects·(just·as·the·ChipDb·and81 The·TxDb·objects·inherit·from·AnnotationDb·objects·(just·as·the·ChipDb·and
82 OrgDb·objects·do).·One·of·the·implications·of·this·relationship·is·that·these82 OrgDb·objects·do).·One·of·the·implications·of·this·relationship·is·that·these
83 object·ought·to·be·used·in·similar·ways·to·each·other.·Therefore·we·have83 object·ought·to·be·used·in·similar·ways·to·each·other.·Therefore·we·have
84 written·supporting·columns,·keytypes,·keys·and·select·methods·for·TxDb·objects.84 written·supporting·columns,·keytypes,·keys·and·select·methods·for·TxDb·objects.
85 These·methods·can·be·a·useful·way·of·extracting·data·from·a·TxDb·object.·And85 These·methods·can·be·a·useful·way·of·extracting·data·from·a·TxDb·object.·And
86 they·are·used·in·the·same·way·that·they·would·be·used·to·extract·information86 they·are·used·in·the·same·way·that·they·would·be·used·to·extract·information
Offset 92, 22 lines modifiedOffset 92, 22 lines modified
92 keytypes(txdb)92 keytypes(txdb)
93 ##·Error·in·keytypes(txdb):·could·not·find·function·"keytypes"93 ##·Error·in·keytypes(txdb):·could·not·find·function·"keytypes"
94 select(txdb,·keys·=·keys,·columns="TXNAME",·keytype="GENEID")94 select(txdb,·keys·=·keys,·columns="TXNAME",·keytype="GENEID")
95 ##·Error·in·select(txdb,·keys·=·keys,·columns·=·"TXNAME",·keytype·=·"GENEID"):95 ##·Error·in·select(txdb,·keys·=·keys,·columns·=·"TXNAME",·keytype·=·"GENEID"):
96 could·not·find·function·"select"96 could·not·find·function·"select"
97 \begin{Exercise}·For·the·genes·in·the·example·above,·find·the·chromosome·and97 \begin{Exercise}·For·the·genes·in·the·example·above,·find·the·chromosome·and
98 strand·information·that·will·go·with·each·of·the·transcript·names.·\end98 strand·information·that·will·go·with·each·of·the·transcript·names.·\end
99 {Exercise}·`T;\begin{Solution}99 {Exercise}·`Ej\begin{Solution}
100 columns(txdb)100 columns(txdb)
101 ##·Error·in·columns(txdb):·could·not·find·function·"columns"101 ##·Error·in·columns(txdb):·could·not·find·function·"columns"
102 cols·<-·c("TXNAME",·"TXSTRAND",·"TXCHROM")102 cols·<-·c("TXNAME",·"TXSTRAND",·"TXCHROM")
103 select(txdb,·keys=keys,·columns=cols,·keytype="GENEID")103 select(txdb,·keys=keys,·columns=cols,·keytype="GENEID")
104 ##·Error·in·select(txdb,·keys·=·keys,·columns·=·cols,·keytype·=·"GENEID"):104 ##·Error·in·select(txdb,·keys·=·keys,·columns·=·cols,·keytype·=·"GENEID"):
105 could·not·find·function·"select"105 could·not·find·function·"select"
106 \end{Solution}T;`106 \end{Solution}Ej`
107 *\x8**\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s·f\x8fo\x8or\x8r·r\x8re\x8et\x8tu\x8ur\x8rn\x8ni\x8in\x8ng\x8g·G\x8GR\x8Ra\x8an\x8ng\x8ge\x8es\x8s·o\x8ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·*\x8**\x8**\x8**\x8*107 *\x8**\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s·f\x8fo\x8or\x8r·r\x8re\x8et\x8tu\x8ur\x8rn\x8ni\x8in\x8ng\x8g·G\x8GR\x8Ra\x8an\x8ng\x8ge\x8es\x8s·o\x8ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·*\x8**\x8**\x8**\x8*
108 Retrieving·data·with·select·is·useful,·but·sometimes·it·is·more·convenient·to108 Retrieving·data·with·select·is·useful,·but·sometimes·it·is·more·convenient·to
109 extract·the·result·as·GRanges·objects.·This·is·often·the·case·when·you·are109 extract·the·result·as·GRanges·objects.·This·is·often·the·case·when·you·are
110 doing·counting·or·specialized·overlap·operations·downstream.·For·these·use110 doing·counting·or·specialized·overlap·operations·downstream.·For·these·use
111 cases·there·is·another·family·of·methods·available.111 cases·there·is·another·family·of·methods·available.
112 Perhaps·the·most·common·operations·for·a·TxDb·object·is·to·retrieve·the·genomic112 Perhaps·the·most·common·operations·for·a·TxDb·object·is·to·retrieve·the·genomic
113 coordinates·or·r\x8ra\x8an\x8ng\x8ge\x8es\x8s·for·exons,·transcripts·or·coding·sequences.·The·functions113 coordinates·or·r\x8ra\x8an\x8ng\x8ge\x8es\x8s·for·exons,·transcripts·or·coding·sequences.·The·functions
Offset 154, 24 lines modifiedOffset 154, 24 lines modified
154 function·"promoters"154 function·"promoters"
155 PR155 PR
156 ##·Error·in·eval(expr,·envir,·enclos):·object·'PR'·not·found156 ##·Error·in·eval(expr,·envir,·enclos):·object·'PR'·not·found
157 The·exons·and·cds·functions·can·also·be·used·in·a·similar·fashion·to·retrive157 The·exons·and·cds·functions·can·also·be·used·in·a·similar·fashion·to·retrive
158 genomic·coordinates·for·exons·and·coding·sequences.158 genomic·coordinates·for·exons·and·coding·sequences.
159 \begin{Exercise}·Use159 \begin{Exercise}·Use
160 exonsto·retrieve·all·the·exons·from·chromosome·15.·How·does·the·length·of·this160 exonsto·retrieve·all·the·exons·from·chromosome·15.·How·does·the·length·of·this
161 compare·to·the·value·returned·bytranscripts?·\end{Exercise}·`T;\begin{Solution}161 compare·to·the·value·returned·bytranscripts?·\end{Exercise}·`Ej\begin{Solution}
162 EX·<-·exons(txdb)162 EX·<-·exons(txdb)
163 ##·Error·in·exons(txdb):·could·not·find·function·"exons"163 ##·Error·in·exons(txdb):·could·not·find·function·"exons"
164 EX[1:4]164 EX[1:4]
165 ##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found165 ##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found
166 length(EX)166 length(EX)
167 ##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found167 ##·Error·in·eval(expr,·envir,·enclos):·object·'EX'·not·found
168 length(GR)168 length(GR)
169 ##·Error·in·eval(expr,·envir,·enclos):·object·'GR'·not·found169 ##·Error·in·eval(expr,·envir,·enclos):·object·'GR'·not·found
170 \end{Solution}T;`170 \end{Solution}Ej`
171 *\x8**\x8**\x8**\x8*·W\x8Wo\x8or\x8rk\x8ki\x8in\x8ng\x8g·w\x8wi\x8it\x8th\x8h·G\x8Gr\x8ro\x8ou\x8up\x8pe\x8ed\x8d·F\x8Fe\x8ea\x8at\x8tu\x8ur\x8re\x8es\x8s·*\x8**\x8**\x8**\x8*171 *\x8**\x8**\x8**\x8*·W\x8Wo\x8or\x8rk\x8ki\x8in\x8ng\x8g·w\x8wi\x8it\x8th\x8h·G\x8Gr\x8ro\x8ou\x8up\x8pe\x8ed\x8d·F\x8Fe\x8ea\x8at\x8tu\x8ur\x8re\x8es\x8s·*\x8**\x8**\x8**\x8*
172 Often·one·is·interested·in·how·particular·genomic·features·relate·to·each172 Often·one·is·interested·in·how·particular·genomic·features·relate·to·each
173 other,·and·not·just·their·location.·For·example,·it·might·be·of·interest·to173 other,·and·not·just·their·location.·For·example,·it·might·be·of·interest·to
174 group·transcripts·by·gene·or·to·group·exons·by·transcript.·Such·groupings·are174 group·transcripts·by·gene·or·to·group·exons·by·transcript.·Such·groupings·are
175 supported·by·the·transcriptsBy,·exonsBy,·and·cdsBy·functions.175 supported·by·the·transcriptsBy,·exonsBy,·and·cdsBy·functions.
176 The·following·call·can·be·used·to·group·transcripts·by·genes:176 The·following·call·can·be·used·to·group·transcripts·by·genes:
177 GRList·<-·transcriptsBy(txdb,·by·=·"gene")177 GRList·<-·transcriptsBy(txdb,·by·=·"gene")
Offset 215, 23 lines modifiedOffset 215, 23 lines modified
215 relations·between·features·consistent·in·the·database·this·was·the·case·in·the215 relations·between·features·consistent·in·the·database·this·was·the·case·in·the
216 2nd·example.·Even·though·the·results·will·sometimes·have·to·come·back·to·you·as216 2nd·example.·Even·though·the·results·will·sometimes·have·to·come·back·to·you·as
217 synthetic·IDs,·you·can·still·always·retrieve·the·original·IDs.217 synthetic·IDs,·you·can·still·always·retrieve·the·original·IDs.
218 \begin{Exercise}·Starting·with·the·tx_ids·that·are·the·names·of·the·GRList218 \begin{Exercise}·Starting·with·the·tx_ids·that·are·the·names·of·the·GRList
219 object·we·just·made,·use219 object·we·just·made,·use
220 selectto·retrieve·that·matching·transcript·names.·Remember·that·the·list·used220 selectto·retrieve·that·matching·transcript·names.·Remember·that·the·list·used
221 aby·argument·=·"tx",·so·the·list·is·grouped·by·transcript·IDs.·\end{Exercise}221 aby·argument·=·"tx",·so·the·list·is·grouped·by·transcript·IDs.·\end{Exercise}
222 `T;\begin{Solution}222 `Ej\begin{Solution}
223 GRList·<-·exonsBy(txdb,·by·=·"tx")223 GRList·<-·exonsBy(txdb,·by·=·"tx")
224 ##·Error·in·exonsBy(txdb,·by·=·"tx"):·could·not·find·function·"exonsBy"224 ##·Error·in·exonsBy(txdb,·by·=·"tx"):·could·not·find·function·"exonsBy"
225 tx_ids·<-·names(GRList)225 tx_ids·<-·names(GRList)
226 ##·Error·in·eval(expr,·envir,·enclos):·object·'GRList'·not·found226 ##·Error·in·eval(expr,·envir,·enclos):·object·'GRList'·not·found
227 head(select(txdb,·keys=tx_ids,·columns="TXNAME",·keytype="TXID"))227 head(select(txdb,·keys=tx_ids,·columns="TXNAME",·keytype="TXID"))
228 ##·Error·in·select(txdb,·keys·=·tx_ids,·columns·=·"TXNAME",·keytype·=·"TXID"):228 ##·Error·in·select(txdb,·keys·=·tx_ids,·columns·=·"TXNAME",·keytype·=·"TXID"):
229 could·not·find·function·"select"229 could·not·find·function·"select"
230 \end{Solution}T;`230 \end{Solution}Ej`
231 Finally,·the·order·of·the·results·in·a·GRangesList·object·can·vary·with·the·way231 Finally,·the·order·of·the·results·in·a·GRangesList·object·can·vary·with·the·way
232 in·which·things·were·grouped.·In·most·cases·the·grouped·elements·of·the232 in·which·things·were·grouped.·In·most·cases·the·grouped·elements·of·the
233 GRangesList·object·will·be·listed·in·the·order·that·they·occurred·along·the233 GRangesList·object·will·be·listed·in·the·order·that·they·occurred·along·the
234 chromosome.·However,·when·exons·or·CDS·parts·are·grouped·by·transcript,·they234 chromosome.·However,·when·exons·or·CDS·parts·are·grouped·by·transcript,·they
235 will·instead·be·grouped·according·to·their·position·along·the·transcript235 will·instead·be·grouped·according·to·their·position·along·the·transcript
236 itself.·This·is·important·because·alternative·splicing·can·mean·that·the·order236 itself.·This·is·important·because·alternative·splicing·can·mean·that·the·order
237 along·the·transcript·can·be·different·from·that·along·the·chromosome.237 along·the·transcript·can·be·different·from·that·along·the·chromosome.
Offset 266, 22 lines modifiedOffset 266, 22 lines modified
266 suppressWarnings(translate(tx_seqs1))266 suppressWarnings(translate(tx_seqs1))
267 ##·Error·in·translate(tx_seqs1):·could·not·find·function·"translate"267 ##·Error·in·translate(tx_seqs1):·could·not·find·function·"translate"
268 \begin{Exercise}·But·of·course·this·is·not·a·meaningful·translation,·because268 \begin{Exercise}·But·of·course·this·is·not·a·meaningful·translation,·because
269 the·call·to269 the·call·to
270 extractTranscriptSeqswill·have·extracted·all·the·transcribed·regions·of·the270 extractTranscriptSeqswill·have·extracted·all·the·transcribed·regions·of·the
271 genome·regardless·of·whether·or·not·they·are·translated.·Look·at·the·manual271 genome·regardless·of·whether·or·not·they·are·translated.·Look·at·the·manual
272 page·forextractTranscriptSeqs·and·see·how·you·can·use·cdsBy·to·only·translate272 page·forextractTranscriptSeqs·and·see·how·you·can·use·cdsBy·to·only·translate
273 only·the·coding·regions.·\end{Exercise}·`T;\begin{Solution}273 only·the·coding·regions.·\end{Exercise}·`Ej\begin{Solution}
274 cds_seqs·<-·extractTranscriptSeqs(Hsapiens,274 cds_seqs·<-·extractTranscriptSeqs(Hsapiens,
275 ··································cdsBy(txdb,·by="tx",·use.names=TRUE))275 ··································cdsBy(txdb,·by="tx",·use.names=TRUE))
276 ##·Error·in·extractTranscriptSeqs(Hsapiens,·cdsBy(txdb,·by·=·"tx",·use.names·=276 ##·Error·in·extractTranscriptSeqs(Hsapiens,·cdsBy(txdb,·by·=·"tx",·use.names·=
277 TRUE)):·could·not·find·function·"extractTranscriptSeqs"277 TRUE)):·could·not·find·function·"extractTranscriptSeqs"
278 translate(cds_seqs)278 translate(cds_seqs)
279 ##·Error·in·translate(cds_seqs):·could·not·find·function·"translate"279 ##·Error·in·translate(cds_seqs):·could·not·find·function·"translate"
280 \end{Solution}T;`280 \end{Solution}Ej`
281 *\x8**\x8**\x8**\x8**\x8*·C\x8Cr\x8re\x8ea\x8at\x8ti\x8in\x8ng\x8g·N\x8Ne\x8ew\x8w·T\x8Tx\x8xD\x8Db\x8b·O\x8Ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·o\x8or\x8r·P\x8Pa\x8ac\x8ck\x8ka\x8ag\x8ge\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*281 *\x8**\x8**\x8**\x8**\x8*·C\x8Cr\x8re\x8ea\x8at\x8ti\x8in\x8ng\x8g·N\x8Ne\x8ew\x8w·T\x8Tx\x8xD\x8Db\x8b·O\x8Ob\x8bj\x8je\x8ec\x8ct\x8ts\x8s·o\x8or\x8r·P\x8Pa\x8ac\x8ck\x8ka\x8ag\x8ge\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*
282 The·GenomicFeatures·package·provides·functions·to·create·TxDb·objects·based·on282 The·GenomicFeatures·package·provides·functions·to·create·TxDb·objects·based·on
283 data·downloaded·from·UCSC·Genome·Bioinformatics·or·BioMart.·The·following283 data·downloaded·from·UCSC·Genome·Bioinformatics·or·BioMart.·The·following
284 subsections·demonstrate·the·use·of·these·functions.·There·is·also·support·for284 subsections·demonstrate·the·use·of·these·functions.·There·is·also·support·for
285 creating·TxDb·objects·from·custom·data·sources·using·makeTxDb;·see·the·help285 creating·TxDb·objects·from·custom·data·sources·using·makeTxDb;·see·the·help
286 page·for·this·function·for·details.286 page·for·this·function·for·details.
287 *\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·m\x8ma\x8ak\x8ke\x8eT\x8Tx\x8xD\x8Db\x8bF\x8Fr\x8ro\x8om\x8mU\x8UC\x8CS\x8SC\x8C·*\x8**\x8**\x8**\x8*287 *\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·m\x8ma\x8ak\x8ke\x8eT\x8Tx\x8xD\x8Db\x8bF\x8Fr\x8ro\x8om\x8mU\x8UC\x8CS\x8SC\x8C·*\x8**\x8**\x8**\x8*
Max diff block lines reached; 482/8811 bytes (5.47%) of diff not shown.
1.01 KB
./usr/lib/R/site-library/GenomicFeatures/doc/GenomicFeatures.md
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 ---1 ---
2 title:·"Making·and·Utilizing·TxDb·Objects"2 title:·"Making·and·Utilizing·TxDb·Objects"
3 author:·"Marc·Carlson,·Patrick·Aboyoun,·Hervé·Pagès,·Seth·Falcon,·Martin·Morgan"3 author:·"Marc·Carlson,·Patrick·Aboyoun,·Hervé·Pagès,·Seth·Falcon,·Martin·Morgan"
4 date:·"Wednesday,·July·09,·2025"4 date:·"Friday,·June·07,·2024"
5 package:·GenomicFeatures5 package:·GenomicFeatures
6 output:6 output:
7 ··BiocStyle::html_document:7 ··BiocStyle::html_document:
8 ····df_print:·paged8 ····df_print:·paged
9 ····toc_float:·true9 ····toc_float:·true
10 vignette:·>10 vignette:·>
11 ··%\VignetteIndexEntry{Making·and·Utilizing·TxDb·Objects}11 ··%\VignetteIndexEntry{Making·and·Utilizing·TxDb·Objects}
Offset 818, 15 lines modifiedOffset 818, 15 lines modified
818 ##·Matrix·products:·default818 ##·Matrix·products:·default
819 ##·BLAS:···/usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0·819 ##·BLAS:···/usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0·
820 ##·LAPACK:·/usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0820 ##·LAPACK:·/usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0
821 ##·821 ##·
822 ##·locale:822 ##·locale:
823 ##·[1]·C823 ##·[1]·C
824 ##·824 ##·
825 ##·time·zone:·/usr/share/zoneinfo/Etc/GMT+12825 ##·time·zone:·/usr/share/zoneinfo/Etc/GMT-14
826 ##·tzcode·source:·system·(glibc)826 ##·tzcode·source:·system·(glibc)
827 ##·827 ##·
828 ##·attached·base·packages:828 ##·attached·base·packages:
829 ##·[1]·stats·····graphics··grDevices·utils·····datasets··methods···base·····829 ##·[1]·stats·····graphics··grDevices·utils·····datasets··methods···base·····
830 ##·830 ##·
831 ##·other·attached·packages:831 ##·other·attached·packages:
832 ##·[1]·markdown_1.12·knitr_1.46···832 ##·[1]·markdown_1.12·knitr_1.46···