@@ -17,12 +17,13 @@ output:
17
17
params :
18
18
# Fill this file with the right paths to nfcore output
19
19
# 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
22
22
genome : hg38
23
+ single_end : false
24
+ factor_of_interest : sample_type
23
25
project_file : ../information.R
24
26
functions_file : ../00_libs/load_data.R
25
- factor_of_interest : sample_type
26
27
---
27
28
28
29
Template developed with materials from https://hbctraining.github.io/main/ .
@@ -45,6 +46,11 @@ This code is in this  revis
45
46
# this is used to color plots, it needs to be part of the metadata
46
47
factor_of_interest=params$factor_of_interest
47
48
genome=params$genome
49
+ <<<<<<< HEAD
50
+ singleend=params$singleend
51
+ =======
52
+ single_end=params$single_end
53
+ >>>>>>> c37fcd42e9e4ba276293a9bc591e6298affd14e5
48
54
# 2. Set input files in this file
49
55
source(params$params_file)
50
56
# 3. If you set up this file, project information will be printed below and
@@ -120,7 +126,8 @@ coldata$sample=row.names(coldata)
120
126
counts <- load_counts(counts_fn)
121
127
counts <- counts[,colnames(counts) %in% coldata$sample]
122
128
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) %>%
124
131
left_join(coldata, by = c('sample')) %>%
125
132
as.data.frame()
126
133
metrics <- subset(metrics, metrics$sample %in% coldata$sample)
0 commit comments