Skip to content

Instantly share code, notes, and snippets.

@atuleu
Last active June 17, 2020 18:41
Show Gist options
  • Save atuleu/a6203a23fa76b5790a6bc90eb49d7fb2 to your computer and use it in GitHub Desktop.
Save atuleu/a6203a23fa76b5790a6bc90eb49d7fb2 to your computer and use it in GitHub Desktop.
#FortMyrmidon Compute the rate of apparition for tags
e <- fmExperimentOpenReadOnly("file.myrmidon")
nbFrames <- e$getDataInformations()$frames
ts <- fmQueryComputeTagStatistics(e)
ts$CountRate <- ts$Count / nbFrames
@nathaliestroeymeyt
Copy link

Typo: it should be:

nbFrames <- e$getDataInformations()$frames

(with an "s" at the end of getDataInformation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment