You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre><code>## Note: the specification for S3 class "AsIs" in package 'BiocGenerics' seems equivalent to one from package 'DBI': not turning on duplicate class definitions for this class.</code></pre>
219
-
<pre><code>## Creating a generic function for 'nchar' from package 'base' in package 'S4Vectors'</code></pre>
220
218
<p>and add them into the <strong>sleuth</strong> table with</p>
<p>Assuming <code>biomaRt</code> has been installed as in the previous step, we can also run sleuth in the ‘gene aggregation’ mode. In addition to requiring a <code>target_mapping</code>, we also require a string which references a column to aggregate by, <code>aggregation_column</code>. In our example, we could use <code>ens_gene</code> or <code>ext_gene</code>. We typically prefer<code>ens_gene</code> as <code>ext_gene</code> tends to be a bit redundant.</p>
250
+
<p>Assuming <code>biomaRt</code> has been installed as in the previous step, sleuth can also be run in the ‘gene aggregation’ mode. In addition to requiring a <code>target_mapping</code>, a string which references a column to aggregate by, (<code>aggregation_column</code>). In our example, we could use <code>ens_gene</code> or <code>ext_gene</code>. It is preferable to use<code>ens_gene</code> as <code>ext_gene</code> tends to be a bit redundant.</p>
253
251
<p>The modified sleuth prep command looks as follows:</p>
<pre><code>## aggregating by column: ens_gene</code></pre>
266
264
<pre><code>## 14412 genes passed the filter</code></pre>
267
-
<p>The remainder of the pipeline is unchanged. When you run<code>sleuth_live</code> or <code>sleuth_results</code>, the gene column you selected will be listed as <code>target_id</code>, rather than the transcript name.</p>
265
+
<p>The remainder of the pipeline is unchanged. When running<code>sleuth_live</code> or <code>sleuth_results</code>, the gene column you selected will be listed as <code>target_id</code>, rather than the transcript name.</p>
268
266
<p><code>sleuth_prep</code> might take a bit longer here because aggregation has to be done amongst all of the bootstraps as well. We are currently working to speed this up and expect to release it along with several memory improvements in the next version (0.28.2). One way to speed this up is to use more processes (assuming you have more cores). Internally, <code>sleuth</code> uses the function <code>parallel::mclapply</code>. You can set the number of cores as follows:</p>
269
267
<divclass="sourceCode"><preclass="sourceCode r"><codeclass="sourceCode r"><spanclass="co"># set the number of available cores to 4</span>
0 commit comments