From 7c500b7b51f5eecc78c36da41e0fe2a71994eda4 Mon Sep 17 00:00:00 2001 From: Per Unneberg Date: Tue, 3 May 2022 19:03:05 +0200 Subject: [PATCH] Extend DFrame instead of virtual DataFrame class --- R/methods-AlignmentPairs-class.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/methods-AlignmentPairs-class.R b/R/methods-AlignmentPairs-class.R index 96d7fe8..8dfc90d 100644 --- a/R/methods-AlignmentPairs-class.R +++ b/R/methods-AlignmentPairs-class.R @@ -13,7 +13,7 @@ setMethod("AlignmentPairs", signature = c("GRanges", "GRanges"), if (!missing(...)) { elementMetadata <- DataFrame(...) } else { - elementMetadata <- new("DataFrame", nrows = length(query)) + elementMetadata <- new("DFrame", nrows = length(query)) } elementMetadata$query <- query elementMetadata$subject <- subject