Description Usage Arguments Value Author(s) References Examples
View source: R/all_functions_v8.R
Filter an Aggregated Table (data.frame) of cell tracks (from multiple images/experiments) and retain cell tracks from images/experiments of interest
1 | FilterTrackedCells(x, id_list, meta_id_field)
|
x |
data.frame, is an aggregated Table of Cell Tracks. Must include the following columns: "new.ID", "frame.ID", "X", "Y", "cell.ID", "tiff_name", "experiment", "condition", "replicate" |
id_list |
character vector, indicates the IDs (such as tiff_filenames) to be retained in the output data.frame |
meta_id_field |
string, can take one of the following values, c("tiff_file", "experiment", "condition", "replicate"). Indicates the meta-data column used as unique ID for the image/experiment. Can be abbreviated. Defaults to "tiff_file". |
data.frame, a filtered aggregated Table of Cell Tracks
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/cellmigration/
1 2 3 4 5 6 | A <- data.frame(new.ID = seq(1,10,by=1), frame.ID = seq(10,1,by=(-1)),
X = sample(seq(1,100,by=1), size = 10),
Y = sample(seq(1,100,by=1), size = 10),
cell.ID = c(rep(1, 5), rep(2, 5)),
tiff_file= c(rep("ii", 3), rep("jj", 5), rep('kk', 2)))
FilterTrackedCells(A, id_list = c("jj", "kk"), "tiff_file")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.