Skip to content

Commit

Permalink
Merge pull request #33 from vyepez88/code_cleaning
Browse files Browse the repository at this point in the history
overview updated
  • Loading branch information
vyepez88 committed Apr 15, 2020
2 parents dc80c90 + 8e0f178 commit 9ae6722
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ outrider_links <- sapply(annotations, get_html_path,
#'

#' ## Analyze Individual Results
# Read the first ods object and results table
ods <- readRDS(snakemake@params$odsFiles[[1]])
res <- fread(snakemake@params$resultTables[[1]])

Expand Down
4 changes: 1 addition & 3 deletions drop/template/Scripts/AberrantSplicingAnalysis/Overview.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ fraser_links <- get_html_path(datasets = datasets,

#'
#' ## Analyze individual results
#'

# Load the files
# Read the first fds object and results table
fds <- loadFraseRDataSet(file = snakemake@params$fds_files[[1]])
res <- fread(snakemake@params$result_tables[[1]])

Expand Down
9 changes: 3 additions & 6 deletions drop/template/Scripts/MAEAnalysis/Overview.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,10 @@ suppressPackageStartupMessages({
#'

#' ## Analyze Individual Results
#'
file <- snakemake@params$results_tables[[1]]
res <- fread(file)

file_location <- strsplit(file, "/")[[1]]
# Read the first results table
res_sample <- readRDS(snakemake@params$results_obj[[1]])

#+echo=F
if(is.null(res_sample$rare)){
g1 <- plotMA4MAE(res_sample)
g2 <- plotAllelicCounts(res_sample)
Expand All @@ -75,6 +72,6 @@ g2
#'
#' [QC Overview](`r "./Scripts_QC_Datasets.html"`)
#'
#' DNA-RNA matrix:
#' ### DNA-RNA matrix:
#' `r paste('* ', snakemake@params$qc_matrix, collapse='\n')`

0 comments on commit 9ae6722

Please sign in to comment.