Commit 46b7739b authored by Chaos's avatar Chaos
Browse files

modified dturtle.R in R

parent 2007c727
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -36,8 +36,6 @@ dtu <- function(
){
	biocpar <- BiocParallel::MulticoreParam(getDTthreads())

	tx2gene <- tx2gene(organism)

	names(ctl_count_files) <-	gsub("/quant.sf","",ctl_count_files) |>
								basename()

@@ -75,13 +73,9 @@ dtu <- function(
					posthoc = 0.1
				)

	dturtle$dge_analysis <- c(ctl_count_files,obs_count_files) |> 
							import_dge_counts(
								type = "salmon",
								tx2gene = tx2gene[,c("transcript_id", "gene_name")]
							) |> 
	dturtle$dge_analysis <- cts |> 
							run_deseq2(
								pd = pd,
								pd = data.frame(pd),
								id_col = "id",
								cond_col = "group",
								cond_levels = c(obs,ctl),