Commit b7ab81ff authored by Jakob Wirbel's avatar Jakob Wirbel

Add options for unmapped reads with only the first letter capitalized.

parent 035df3da
...@@ -192,6 +192,7 @@ filter.features <- function(siamcat, ...@@ -192,6 +192,7 @@ filter.features <- function(siamcat,
message("+++ checking for unmapped reads") message("+++ checking for unmapped reads")
# remove 'unmapped' feature # remove 'unmapped' feature
names.unmapped <- c("UNMAPPED", "-1", "X.1", "unmapped", names.unmapped <- c("UNMAPPED", "-1", "X.1", "unmapped",
"Unclassified", "Unassigned",
"UNCLASSIFIED", "unclassified", "UNASSIGNED", "unassigned") "UNCLASSIFIED", "unclassified", "UNASSIGNED", "unassigned")
unm.idx <- rownames(feat) %in% names.unmapped unm.idx <- rownames(feat) %in% names.unmapped
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment