Skip to content

Commit

Permalink
Add number of variable features to seurat object print
Browse files Browse the repository at this point in the history
  • Loading branch information
timoast committed Mar 3, 2020
1 parent 656ca3a commit 3583b62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -6653,6 +6653,11 @@ setMethod(
strwrap(x = paste(other.assays, collapse = ', '))
)
}
cat(
'\n',
'Number of variable features: ',
length(x = VariableFeatures(object = object))
)
reductions <- FilterObjects(object = object, classes.keep = 'DimReduc')
if (length(x = reductions) > 0) {
cat(
Expand Down

0 comments on commit 3583b62

Please sign in to comment.