diff --git a/R/MotifList-class.R b/R/MotifList-class.R index c6b4e2d..0605ed0 100644 --- a/R/MotifList-class.R +++ b/R/MotifList-class.R @@ -223,7 +223,7 @@ setMethod('show', 'MotifList', cat ('| Created from downloaded public sources: 2013-Aug-30', '\n', sep='') tbl.dataSource = as.data.frame (table (mcols (object)$dataSource)) - tbl.org = as.data.frame (table (mcols (object)$organism)) + tbl.org = as.data.frame (table (mcols (object)$organism, useNA="ifany")) tbl.org = head (tbl.org [order (tbl.org$Freq, decreasing=TRUE),]) totalMatrixCount = length (object) totalOrganismCount = length (unique (mcols (object)$organism))