powered by
nrow returns the number of rows present in a matrix.
nrow
# S4 method for Dna nrow(x)
an integer of length one.
an object of class Dna.
Dna
signature(x = "Dna")
nrow returns the number of rows present in the sequence matrix (number of sequences).
data("dna.obj") x <-dna.obj ## Giving the number of sequences. nrow(x)
Run the code above in your browser using DataLab