Skip to content

Commit 88b0eac

Browse files
committed
include "_PAR_Y" in stripped.dotted.version
1 parent efdda24 commit 88b0eac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

workflows/rnaseq/downstream/rnaseq.Rmd

+5-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ dds <- lcdbwf::DESeqDataSetFromCombinedFeatureCounts(
129129
# dds <-collapseReplicates(dds, dds$biorep)
130130
131131
if (strip.dotted.version){
132-
rownames(dds) <- sapply(strsplit(rownames(dds), '.', fixed=TRUE), function (x) x[1])
132+
rownames(dds) <- sapply(strsplit(rownames(dds), '.', fixed=TRUE),
133+
function (x) {ifelse(grepl('_', x[2]),
134+
paste(x[1], x[2], sep='.'),
135+
x[1])}
136+
)
133137
}
134138
135139
vsd <- varianceStabilizingTransformation(dds, blind=TRUE)

0 commit comments

Comments
 (0)