Learn R Programming

IGM.MEA (version 0.3.4.1)

filter.wells: Filter wells

Description

Filter out wells for which the number of active electrodes is less than 4, at least 70 percent of the time

Usage

filter.wells(unfiltered.df, nae,min.electrodes = 4, well.filter.maximum.DIV.inactive.ratio = 0.5)

Arguments

unfiltered.df
Dataframe generated by the spike.features() function
nae
A dataframe containing the number of active electrodes for the recording
min.electrodes
Minimum number of active electrode to consider a well for analysis
well.filter.maximum.DIV.inactive.ratio
The DIV inactive/active well ratio below which a well will be considered active for a set of DIVs

Value

Examples

Run this code


	#data("S")
	#data("parameters")
	#s<-list(); s[[1]]<-S
	# spike.features<-IGM.aggregate.feature.data(s, feat.type="spike", parameters )
	# nae = spike.features$nAE
  # filtered.spike.features = lapply(spike.features, function(x) filter.wells(x, nae))

Run the code above in your browser using DataLab