Would like to compare a single RNA sample against TCGA using Djerba, which means that the study cohort has a size of one.
Normally this should not be an issue, but R has a very annoying 'feature' where data frames with a single column are automatically converted to vectors. This breaks the find_expression.R evaluation logic, but is easily mitigated in this pull request by adding the drop=FALSE argument in three places where the study cohort data frame is sliced up in the code.
Would like to compare a single RNA sample against TCGA using Djerba, which means that the study cohort has a size of one. Normally this should not be an issue, but R has a very annoying 'feature' where data frames with a single column are automatically converted to vectors. This breaks the find_expression.R evaluation logic, but is easily mitigated in this pull request by adding the drop=FALSE argument in three places where the study cohort data frame is sliced up in the code.