changeset 2:8ceda5896765 draft default tip

fix error
author mingchen0919
date Wed, 03 Jan 2018 15:04:30 -0500
parents 629323b5fc0c
children
files rmarkdown_deseq2_count_matrix.Rmd rmarkdown_deseq2_count_matrix.xml
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rmarkdown_deseq2_count_matrix.Rmd	Sat Dec 30 16:39:39 2017 -0500
+++ b/rmarkdown_deseq2_count_matrix.Rmd	Wed Jan 03 15:04:30 2018 -0500
@@ -50,7 +50,7 @@
 The goal of this step is to rearrange the rows of the column data matrix so that the samples rows in the count data matrix and the sample columns in the count data matrix are in the same order.
 
 ```{r 'match sample names'}
-col_data = col_data[col_names, ]
+col_data = col_data[col_names, , drop = FALSE]
 datatable(col_data)
 ```
 
--- a/rmarkdown_deseq2_count_matrix.xml	Sat Dec 30 16:39:39 2017 -0500
+++ b/rmarkdown_deseq2_count_matrix.xml	Wed Jan 03 15:04:30 2018 -0500
@@ -35,7 +35,7 @@
         <param type="text" name="count_matrix_column_names" label="column names"
                help="This field is used to update the column names of count data matrix. Column names are separated by comma (,). For example, 'column_1, column_2, column_3, column_4'"
                optional="True" area="True" size="5x25"></param>
-        <param type="data" name="col_data" label="column data (from file)" optional="False" format="txt,csv" multiple="False"/>
+        <param type="data" name="col_data" label="column data (from file)" optional="False" format="csv" multiple="False"/>
         <param type="text" name="design_formula" label="design formula"
                help="The simplest design formula for differential expression would be ~ condition, where condition&#13;&#10;                     is a column in colData(dds) that specifies which of two (or more groups) the samples belong to"
                optional="False" value="~ condition_1 + condition_2">