speciesCompositionsToDataFrame | R Documentation |
Generate a data frame of the list of species composition integer vectors. Rows are named as families and columns as species.
speciesCompositionsToDataFrame(spec.comps.lst,
column.names = names(spec.comps.lst[[1]]),
family.names = names(spec.comps.lst))
spec.comps.lst |
- A list of integer vectors generated by lapply function 'speciesComposition' on the gene families character vectors. |
column.names |
- A character vector of column names. Default is the names slot of the first entry of 'spec.comps.lst' |
family.names |
- A character vector of family names. Default is the names slot of argument list 'spec.comps.lst' |
A data frame: One row per family and one column per species with an extra column of the family sizes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.