read_bug: Read a bug's genefamily file

View source: R/read_in_data.R

read_bugR Documentation

Read a bug's genefamily file

Description

Read a bug's genefamily file

Usage

read_bug(bug_file, meta = NULL, remove_pattern = "_Abundance-RPKs")

Arguments

bug_file

path to a bug's genefamily file

meta

a data frame of metadata

remove_pattern

pattern to remove from the column names of the genefamily file

Details

The input bug_file needs to be readable by data.table::fread()

If metadata is provided, the genefamily file is subset to only those samples present in the sample_id column of the metadata.

Value

The genefamily file of the bug as a data.table in TALL format


biobakery/anpan documentation built on July 26, 2024, 11:19 p.m.