PlotSTAT: Plot a wordcloud of the STAT-classified taxonomy in a...

View source: R/PlotSTAT.R

PlotSTATR Documentation

Plot a wordcloud of the STAT-classified taxonomy in a palm.sra object using get.sraSTAT()

Description

Plot a wordcloud of the STAT-classified taxonomy in a palm.sra object using get.sraSTAT()

Usage

PlotSTAT(stat.sra)

Arguments

stat.sra

data.frame, created from get.sraSTAT()

Value

A ggwordcloud object of the "ntop" frequent terms [50]

Examples



con <- SerratusConnect()

# Load Waxsystermes Example data
data("waxsys.palm.sra")

waxsys.stat.sra <- get.sraSTAT(waxsys.palm.sra$run_id, con)

# Populate stat.sra with percent identity from palm.sra
palm.stat.lookup <- match(waxsys.stat.sra$run_id, waxsys.palm.sra$run_id)
waxsys.stat.sra$pident <- waxsys.palm.sra$pident[palm.stat.lookup]

# Create wordcloud of STAT Taxonomy
PlotSTAT( waxsys.stat.sra)




ababaian/palmid documentation built on July 1, 2023, 1:09 a.m.