PlotOrgn: Plot a wordcloud of the organisms in a palm.sra object or...

Description Usage Arguments Value Examples

View source: R/PlotOrgn.R

Description

Plot a wordcloud of the organisms in a palm.sra object or orgn.vec

Usage

1
PlotOrgn(palm.sra = NULL, orgn.vec = NULL, freq = T)

Arguments

palm.sra

data.frame, created from get.palmSra() [NULL]

orgn.vec

character, vector of "scientific_name" from sra run table [NULL]

freq

boolean, scale words by frequency, else by identity [T]

Value

A ggwordcloud object of the "ntop" frequent terms

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Retrive organism identifiers from SRA Run Info Table
# palm.orgn <- get.sraOrgn(run_ids, con)

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

# Create wordcloud of organism terms
# using column "scientific_name" in data.frame

# Scaled by frequency of organism term in all of data.frame
PlotOrgn( waxsys.palm.sra )

# Scaled by proximity of organism tag to input sequence (pident)
PlotOrgn( waxsys.palm.sra , freq = FALSE)

palmid documentation built on Oct. 15, 2021, 9:06 a.m.