getSeqtab: getSeqtab

getSeqtabR Documentation

getSeqtab

Description

Function reads in your seqtab file and puts it in a format that can be used as an argument in the EmbedAsvTable function.

Usage

getSeqtab(seqtab)

Arguments

seqtab

seqtab should be a .csv file.

The seqtab argument should given as the file path and needs to be in quotes.

Examples

## The function is currently defined as
function (seqtab)
{
    seqtab <- utils::read.csv(seqtab)
    rownames(seqtab) <- seqtab$X
    rownames(seqtab) <- gsub("X", "", rownames(seqtab))
    seqtab <- seqtab[, 2:ncol(seqtab)]
    return(seqtab)
  }

MaudeDavidLab/gut_microbiome_embeddings_package documentation built on April 1, 2022, 4:48 a.m.