write.xlsx {rbiom}R Documentation

Write data and summary information to a Microsoft Excel-compatible workbook.

Description

Write data and summary information to a Microsoft Excel-compatible workbook.

Usage

write.xlsx(biom, outfile, depth = NULL, seed = 0)

Arguments

biom

The BIOM object to save to the file.

outfile

Path to the output xlsx file.

depth

Depth to rarefy to. See rarefy function for details. Only use depth with BIOM files of type 'OTU table' and integer count values.

seed

Random seed to use in rarefying. See rarefy function for details.

Value

On success, returns NULL invisibly.

Note

Any data frame attributes on biom will be included as separate worksheets. An attribute named 'Reads Per Step' is treated specially and merged with the usual 'Reads Per Sample' tab - if provided, its row names should match those in biom exactly.


[Package rbiom version 1.0.3 Index]