pyaffy:在python中处理affymetrix表达微阵列的原始数据。
pyaff的Python项目详细描述
pyaffy是rma算法的python/cython实现 处理来自affymetrix表达微阵列的原始数据。详细的 有关此实现的讨论,请参见pyAffy PeerJ preprint。为了 更改列表,请参见changelog。
安装
选项1:使用pip
$ pip install pyaffy
选项2:克隆github存储库
$ git clone https://github.com/flo-compbio/pyaffy.git
$ cd pyaffy
$ pip install -e .
用法
rma函数需要两个参数:自定义cdf文件(来自 Brainarray web site)和有序字典(collections.ordereddict) 以样本名作为键,相应的cel文件作为值。
函数返回一个基因列表、一个样本列表和一个 表达式矩阵(类型numpy.ndarray),按顺序排列。
frompyaffyimportrma# for documentation of the rma function, try:# help(rma)genes,samples,X=rma(cdf_file,sample_cel_files)
小的example with real code可以在pyaffy demos存储库中找到。
版权和许可
版权所有(c)2016 Florian Wagner
pyAffy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 3, as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.