diff rmarkdown_deseq2_count_matrix.Rmd @ 2:8ceda5896765 draft default tip

fix error
author mingchen0919
date Wed, 03 Jan 2018 15:04:30 -0500
parents 629323b5fc0c
children
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)
 ```