InSilicoSpectro::Spectra::Filter::MSFilterCollection
my $file= "a.idj.xml"; my $sr=InSilicoSpectro::Spectra::MSRun->new(); $sr->readIDJ($file);
my $fc = new InSilicoSpectro::Spectra::Filter::MSFilterCollection(); $fc->readXml('a_filter_list.xml'); $fc->filterSpectra($sr);
my $file_out; open ($file_out, ">another.idj.xml"); $sr->write('idj', $file_out); close $file_out;
This class allows you to filter your spectra with a list of filters in a xml-entry. The spectra is succesively filtered one after each other.
create a new object.
opens the provided XML-file containing the information the filters and its parameters.
apply all or only a selected XML-filter previously loaded on the Spectra (can be MS, MSMS, MSCmpd-Spectra or MSRun).
checks if the different values provided by the xml are valid.
returns the filter chosen or a list containing all the filters.
adds a xml-filter-twig-el to the actual filter-list.
see the the MSFilterCollection.t for an example.
search.cpan.org
Copyright (C) 2004-2005 Geneva Bioinformatics www.genebio.com
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Roman Mylonas, www.genebio.com
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install InSilicoSpectro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm InSilicoSpectro
CPAN shell
perl -MCPAN -e shell install InSilicoSpectro
For more information on module installation, please visit the detailed CPAN module installation guide.