Description Usage Arguments Details Value Examples
View source: R/ParseNetlogoData.R
In Pheno-Evo experiments, it is common to store all the values from all agents for a particular variable at each given timepoint. In the resulting Netlogo data table, those values all go into a single entry of the table at each timepoint. [parsenfactors.norm()] can be used to split up those values and export them into a new dataframe as factors, along with information about their frequency in the population. As an example: the list of individual barcodes carried by cells in a Pheno-Evo population.
1 | parsefactors.norm(charstring)
|
charstring |
The full character string from one entry of a NetLogo data table, including brackets and quotation marks. |
In general, the normal Pheno-Evo user should not have to use this function. It is called by several other functions used for analyzing Pheno-Evo output data, such as [barcode.timecourse()]. For a function that calculates density and returns a dataframe, see [parsenumeric()]. For a function that returns a vector of numeric values, see [extractnumeric()].
A dataframe with three columns: s3 = factor levels; Freq = number of individuals at each factor level; Prop = proportion of the total community.
1 2 3 | data(PE.ends)
PE.ends$barcode[4]
parsefactors.norm(PE.ends$barcode[4])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.