diff rmarkdown_deseq2_count_matrix.Rmd @ 3:320aa7da31d9 draft default tip

fix error
author mingchen0919
date Wed, 03 Jan 2018 15:52:26 -0500
parents 18e3fc69da76
children
line wrap: on
line diff
--- a/rmarkdown_deseq2_count_matrix.Rmd	Sat Dec 30 16:42:01 2017 -0500
+++ b/rmarkdown_deseq2_count_matrix.Rmd	Wed Jan 03 15:52:26 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)
 ```