spp.diffs: get the differences in sequence between two species. NB the...

View source: R/sppdiffs.R

spp.diffsR Documentation

get the differences in sequence between two species. NB the sequences are sorted by sequence position *within* this function, so there's no need to sort them before calling it.

Description

get the differences in sequence between two species. NB the sequences are sorted by sequence position *within* this function, so there's no need to sort them before calling it.

Usage

spp.diffs(mcs1, mcs2, name1 = "spp01", name2 = "spp02", verbose = F, halt = F)

Arguments

mcs1

the mammalian collagen sequence for species 1

mcs2

the mammalian collagen sequence for species 2

name1

(optional) the name of species 1

name2

(optional) the name of species 2

verbose

(optional) whether to print messages while processing

halt

(optional) whether to pause until <return> is hit while processing

Value

Returns a vector of sequence positions for the position where the differences in the spectrum are

Examples

sh <- load.mcs("sheep")
hu <- load.mcs()
diffs <- spp.diffs(sh,hu,"sheep","human")

bioarch-sjh/bacollite documentation built on Oct. 7, 2022, 3:34 p.m.