Skip to content

Commit

Permalink
moved contamination detected from minor and consensus alleles out of …
Browse files Browse the repository at this point in the history
…minor alleles output to consensus output
  • Loading branch information
lakras authored Nov 14, 2023
1 parent c168a90 commit aa07864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/visualize_plate_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ if(input_file_type != "isnvs")
# subsets input file to display consensus-level potential contamination only
if(input_file_type == "contamination_consensus")
{
input_table <- subset(input_table, appearance_of_potential_contamination == "consensus-level")
input_table <- subset(input_table, appearance_of_potential_contamination == "consensus-level"
| appearance_of_potential_contamination == "minor and consensus-level")
input_file_type <- "contamination"
}

# subsets input file to display minor allele or minor-consensus mix potential contamination only
if(input_file_type == "contamination_minor")
{
input_table <- subset(input_table, appearance_of_potential_contamination == "minor alleles"
| appearance_of_potential_contamination == "minor and consensus-level")
input_table <- subset(input_table, appearance_of_potential_contamination == "minor alleles")
input_file_type <- "contamination"
}

Expand Down

0 comments on commit aa07864

Please sign in to comment.