abundance_vc: abundance_vc

View source: R/abundance_vc.R

abundance_vcR Documentation

abundance_vc

Description

Creates a abundance matrix from the genome_by_genome_overview.csv files outputed by VCONTACT2

Usage

abundance_vc(
  viral_vc,
  taxa = "Family",
  output_type = "matrix",
  abuntype = "relative"
)

Arguments

viral_vc

dataframe, gene_to_genome.csv, output from VContact2

taxa

taxon selected by the user among the following: "Genome","Order","Family","Genus". Default set to "Family"

abuntype

abundance to construct the matrix. "relative" or "absolute"; default set to "relative"

Examples

## Not run: 
quiet(cat("test"))
quiet(warning("test"))
quiet(warning("test"), all=T)

## End(Not run)
# This is a function that suppresses log info

bbica/MetaViral documentation built on June 23, 2022, 7:11 p.m.