Skip to content

Make it easier to append annotations to an FCS file; align getFcsFile, getFcsFiles and annotateFcsFile #44

@zbjornson

Description

@zbjornson

The docs for annotateFcsFile rightly warn that using it will overwrite existing annotations and say to use getFcsFile first. However, getFcsFile[s] returns a list and annotateFcsFile expects a list, so this is tedious to do.

Current method:

fa = data.frame(file$annotations)
annoList = as.list(with(fa, setNames(value, name)))
annoList[["New Anno"]] <- "abcd"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions