importPhysicalDists: Importing a table of physical distances as a data frame

View source: R/func__distanceAnalyser__importPhysicalDists.R

importPhysicalDistsR Documentation

Importing a table of physical distances as a data frame

Description

This function reads a tabulated Bandage output into R for the evaluation of distance consistency. The distance table can be created using a helper pipeline physDist (github.com/wanyuac/physDist).

Usage

importPhysicalDists(
  dists = NULL,
  delim = "\t",
  ingroup = NULL,
  outgroup = NULL
)

Arguments

dists

The distance table to be imported.

delim

A character specifying the delimiter in the distance table. Default: a tab character.

ingroup

A vector of strain names to be included in the result.

outgroup

A vector of strains whose physical distances will be excluded from the result.

Value

A data frame of physical distances.

Author(s)

Yu Wan, wanyuac@126.com


wanyuac/GeneMates documentation built on Aug. 12, 2022, 7:37 a.m.