Description Usage Arguments Author(s) Examples
this function reformats WGS data to prepare it for analyisis
1 | wgs_function(df, pathway.file)
|
df |
wgs.counts or wgs.ra |
pathway.file |
A file referencing the pathway category to which each cog belongs |
atomczik
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (df, pathway.file)
{
cog.path <- cog.path.ref(pathway.file)
cog.cv.ra <- cog_cv_ra(df)
cog.path.cv.ra <- merge(cog.path, cog.cv.ra, by = "cog.name")
cog.path.cv.ra <- cog.path.cv.ra[order(cog.path.cv.ra$pathway.name),
]
return(cog.path.cv.ra)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.