| Dna-class | R Documentation |
"Dna" in the Package haplotypesS4 class to hold DNA sequence data.
Objects can be created by calls of the form new("Dna", sequence, seqlengths, seqnames), however reading fasta file using read.fas function or coerce matrix, data.frame or list objects to a Dna object using as.dna methods is preferable.
sequence:Object of class "matrix" containing DNA sequence data, rows represent sequences and columns represent sites. See also ‘Note’.
seqlengths:Object of class "numeric" containing the length of each DNA sequence.
seqnames:Object of class "character" containing the name of each DNA sequence.
signature(x = "Dna", i = "ANY", j = "ANY"): extracts part of a DNA sequence as an object of class matrix.
signature(x = "Dna", i = "ANY", j = "ANY", value = "ANY"): replaces part of a Dna sequence with an object of class "matrix", "numeric" or "character".
signature(x = "Dna", value = "ANY"): combines two Dna objects.
signature(x = "Dna"): coerces an object of class Dna to a data.frame.
signature(x = "Dna"): coerces an object of class Dna to a list; elements of the list are character vectors that contains the DNA sequences of length equal to corresponding value in the slot seqlengths.
signature(x = "Dna"): coerces an object of class Dna to a matrix.
signature(x = "Dna"): coerces an object of class Dna to a numeric matrix.
signature(x = "Dna"): coerces an object of class Dna to a DNAbin object.
signature(x = "Dna"): coerces an object of class Dna to a phyDat object.
signature(x = "Dna"): calculates base composition of Dna object.
signature(x = "Dna"): generates single bootstrap replicate.
signature(x = "Dna"): computes and returns an absolute pairwise character difference matrix from DNA sequences.
signature(x = "Dna"): infers haplotypes from DNA sequences.
signature(x = "Dna"): displays DNA sequences
signature(x = "Dna"): supports simple indel coding method.
signature(x = "Dna"): returns the longest sequence length.
signature(x = "Dna", value = "ANY"): combines two Dna objects.
signature(x = "Dna"): gets the names of an object Dna.
signature(x = "Dna"): sets the names of an object Dna.
signature(x = "Dna"): returns the longest sequence length.
signature(x = "Dna"): returns the total sequence number.
signature(x = "Dna"): calculates pairwise Nei's average number of differences between populations.
signature(x = "Dna"): calculates pairwise PhiST between populations.
signature(x = "Dna"): estimates genealogies using statistical parsimony.
signature(x = "Dna"): displays information about DNA polymorphisms of two sequences; indels and base substitutions, respectively.
signature(object = "Dna"): returns a vector containing the minimum and maximum length of DNA sequences.
signature(object = "Dna"): removes alignment gaps.
signature(object = "Dna"): retrieve the row names of a DNA sequence matrix.
signature(object = "Dna"): set the row names of a DNA sequence matrix.
signature(object = "Dna"): displays Dna object briefly.
signature(x = "Dna"): displays information about base substitutions.
signature(x = "Dna"): Translate characters in DNA sequence matrix from upper to lower case.
signature(x = "Dna"): Translate characters in DNA sequence matrix from lower to upper case.
signature(x = "Dna"): returns a list with duplicate DNA sequences removed.
Valid characters for the slot sequence are "A","C","G","T","a","c","g","t","-","?". Numeric entries (integers) between 0-5 will be converted to "?","A","C","G","T","-", respectively. Invalid characters will be replaced with "?" with a warning message.
Caner Aktas, caktas.aca@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.