Commit 7c35fbc4 authored by Lena Hersemann's avatar Lena Hersemann

added "protein_ids" (ID of ms_data_prep.R output) as firstColName option when...

added "protein_ids" (ID of ms_data_prep.R output) as firstColName option when checking the input count matrix
parent fa716a16
......@@ -17,6 +17,7 @@ Options:
--force Force correction
'
# commandArgs <- function(x) c("--design", "'batch+timepoint+mouse+fraction+condition'", "../data_prep.intens_imputed.txt", "../data_prep.exp_design.txt")
opts = docopt(doc, commandArgs(TRUE))
......@@ -60,7 +61,7 @@ exDesign = read_tsv(design_matrix_file)
## assume first column to be id and use gene_id as working title
firstColName=names(countData)[1]
stopifnot(firstColName %in% c("ensembl_gene_id", "gene_id", "protein_acc") )
stopifnot(firstColName %in% c("ensembl_gene_id", "gene_id", "protein_acc", "protein_ids") )
names(countData)[1] = "gene_id"
countMatrix = countData %>%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment