Skip to content
Snippets Groups Projects
Commit 30390b7e authored by aliarifki's avatar aliarifki Committed by Xavier Grand
Browse files

Correction des erreurs du script R

parent b9928b0e
No related branches found
No related tags found
No related merge requests found
......@@ -240,20 +240,21 @@ count_clear <- dplyr::inner_join(palette_complete,
#names(count_clear)
count_clear$nom <- factor(count_clear$nom, levels = all_species_name)
ggplot(count_clear, aes(x = "percent",
y = proportion,
fill = nom)) +
geom_col() +
coord_polar("y") +
scale_fill_manual(values = count_clear$teinte) +
labs(fill = "spliced-variants")
ggsave(file = paste0(opt$barcode, "_SP_clear_proportion_piechart.png"),
scale = 2,
width = 1920,
height = 1080,
units = "px",
dpi = 300)
if(nrow(count_clear)!=0){
ggplot(count_clear, aes(x = "percent",
y = proportion,
fill = nom)) +
geom_col() +
coord_polar("y") +
scale_fill_manual(values = count_clear$teinte) +
labs(fill = "spliced-variants")
ggsave(file = paste0(opt$barcode, "_SP_clear_proportion_piechart.png"),
scale = 2,
width = 1920,
height = 1080,
units = "px",
dpi = 300)}
ggplot(count_clear, aes(x = nom,
y = proportion,
......
......@@ -278,10 +278,19 @@ workflow {
//#################### VARIANTS D'EPISSAGE ####################
jwr_checker(sort_index_bam.out.indexed_bam)
junctions_nanosplicer(start_position_individuals.out.classification_of_reads, jwr_checker.out.nanosplicer_jwr)
start_position_individuals.out.classification_of_reads
.combine(jwr_checker.out.nanosplicer_jwr, by: 0)
.set{files_for_nanosplicer}
junctions_nanosplicer(files_for_nanosplicer)
//#################### VARIANTS D'EPISSAGE ####################
rna_count(junctions_nanosplicer.out.identified_SPvariants, start_position_individuals.out.classification_of_reads)
junctions_nanosplicer.out.identified_SPvariants
.combine(start_position_individuals.out.classification_of_reads, by: 0)
.set{files_for_rna_count}
rna_count(files_for_rna_count)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment