Description Usage Arguments Value Examples
Cross tabulate the population composition
1 | census(v, pop.def)
|
v |
a consensus vector of population classifications. |
pop.def |
A population (rows) definition dataframe with parameters (columns) for gating and clustersing. |
a one row, cross-tabulated dataframe of counts with one column for each population specified by the rows in the pop.def dataframe. Zeros are filled in for absent populations.
1 2 3 4 5 6 7 8 9 10 | opp.file.path <- system.file("extdata","seaflow_cruise","2011_001", "1.evt.opp",
package="flowPhyto")
pop.file.path <- system.file("extdata","seaflow_cruise","pop.def.tab",
package="flowPhyto")
opp <- readSeaflow(opp.file.path)
def <- readPopDef(pop.file.path)
pop <- classify(x=opp, pop.def= def)
census(v=pop$pop, pop.def=def)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.