DropPRecording: Drops recording(s) from PCollection

DropPRecordingR Documentation

Drops recording(s) from PCollection

Description

[Stable]
Drops recording(s) from PCollection

Usage

DropPRecording(X, Recording = NULL, Group = NULL)

Arguments

X

A PCollection object

Recording

A name of a PRecording in the collection, or a list thereof. If provided, drops that/those PRecording(s).

Group

A name of a group in thePCollection. If provided, drops all PRecording belonging to that group. Either recording or group need to be given.

Value

A PCollection object

Examples

data("PRecording")
# first create a PCollection for testing
SampleCollection<-NewPCollection(SampleData,Names="A")
SampleCollection<-AddPRecording(SampleCollection, SampleData)
SampleCollection
# now drop the first Recording stored in it
SampleCollection<-DropPRecording(SampleCollection, GetRecordingNames(SampleCollection)[1])
SampleCollection

moritzlindner/PatchMasteR documentation built on April 30, 2024, 1:52 a.m.