A class for holding flow cytometry data from a single well or a single tube.
Methods
| ID_from_data([ID_field]) | Returns the well ID from the src keyword in the FCS file. (e.g., A2) |
| __init__(ID[, datafile, readdata, ...]) | |
| apply(func[, applyto, noneval, setdata]) | Apply func either to self or to associated data. |
| apply_queued() | |
| copy([deep]) | Make a copy of this object |
| gate(gate[, apply_now]) | Apply given gate and return new gated sample (with assigned data). |
| get_data(**kwargs) | Get the measurement data. |
| get_meta(**kwargs) | Get the measurement metadata. |
| get_meta_fields(fields[, kwargs]) | Return a dictionary of metadata fields |
| load(path) | Loads object from a pickled file. |
| plot(channel_names[, kind, gates, ...]) | Plots the flow cytometry data associated with the sample on the current axis. |
| read_data(**kwargs) | Read the datafile specified in Sample.datafile and |
| read_meta(**kwargs) | Read only the annotation of the FCS file (without reading DATA segment). |
| save(path) | Saves objec to a pickled file. |
| set_data([data]) | Read data into memory, applying all actions in queue. |
| set_meta([meta]) | Assign values to self.meta. |
| subsample(key[, order, auto_resize]) | Allows arbitrary slicing (subsampling) of the data. |
| transform(transform[, direction, channels, ...]) | Applies a transformation to the specified channels. |
| view([channel_names, gates, diag_kw, ...]) | Generates a matrix of subplots allowing for a quick way to examine how the sample looks in different channels. |
| view_interactively([backend]) | Loads the current sample in a graphical interface for drawing gates. |
Attributes
| channel_names | A tuple containing the channel names. |
| channels | A DataFrame containing complete channel information |
| counts | Returns total number of events. |
| data | Data may be stored in memory or on disk |
| meta | Metadata associated with measurement. |
| shape |