visustat_summary: visustat_summary

View source: R/visustat_summary.R

visustat_summaryR Documentation

visustat_summary

Description

With visustat_summary, time-resolved summary statistics are calculated. In correspondence to visustat_frame continuous and discrete parameters can be mapped individually on color and shape. In addition, the population mean and either standard deviations, confidence intervals or standard errors for respective statistics can be displayed as facetted ribbon plots.

Usage

visustat_summary(df, ...)

Arguments

df

dataframe of the form: df(track, time, X, Y, mapping_parameters, ...)

frame

integer: frame to be mapped

time.unit

character: time unit

tracks

vector: defining tracks to be displayed

par.map

character: specifying parameter in df to be visualized by color

par.shape

character: specifying parameter in df to be mapped on shape

ribbon

logical: display ribbon

ribbon.stat

character: choose ribbon-statistic: 'sd': standard deviation, 'se': standard error, 'ci': confidence interval

line.size

numeric: size of lines

line.alpha

numeric: transparency of lines

line.length

numeric: length of lines (in frames)

points.size

numeric: size of points

points.alpha

numeric: transparency of points

points.shape

numeric: set shape from ggplot2 shape palette

unit

character: setting name of unit; default: 'px'

Examples

data(hiv_motility)
visustat_summary(hiv_motility %>% na.omit(), par.map="speed", tracks=c(48, 66, 102, 108))

grrchrr/VisuStatR documentation built on April 25, 2022, 11:30 a.m.