@@ -17,12 +17,13 @@ output:
1717params :
1818 # Fill this file with the right paths to nfcore output
1919 # Put hg38, mm10, mm39, or other
20- # params_file: params_qc_nf-core -example.R # example data
21- params_file : params_qc_nf-core -example.R
20+ # params_file: params_qc -example.R # example data
21+ params_file : params_qc -example.R
2222 genome : hg38
23+ single_end : false
24+ factor_of_interest : sample_type
2325 project_file : ../information.R
2426 functions_file : ../00_libs/load_data.R
25- factor_of_interest : sample_type
2627---
2728
2829Template developed with materials from https://hbctraining.github.io/main/ .
@@ -45,6 +46,11 @@ This code is in this  revis
4546# this is used to color plots, it needs to be part of the metadata
4647factor_of_interest=params$factor_of_interest
4748genome=params$genome
49+ <<<<<<< HEAD
50+ singleend=params$singleend
51+ =======
52+ single_end=params$single_end
53+ >>>>>>> c37fcd42e9e4ba276293a9bc591e6298affd14e5
4854# 2. Set input files in this file
4955source(params$params_file)
5056# 3. If you set up this file, project information will be printed below and
@@ -120,7 +126,8 @@ coldata$sample=row.names(coldata)
120126counts <- load_counts(counts_fn)
121127counts <- counts[,colnames(counts) %in% coldata$sample]
122128
123- metrics <- load_metrics(se_object, multiqc_data_dir, gtf_fn, counts) %>%
129+ metrics <- load_metrics(se_object, multiqc_data_dir,
130+ gtf_fn, counts, single_end) %>%
124131 left_join(coldata, by = c('sample')) %>%
125132 as.data.frame()
126133metrics <- subset(metrics, metrics$sample %in% coldata$sample)
0 commit comments