In [1]:
import pandas as pd
data = pd.read_excel('DEG_list.xlsx')
data.to_csv('DEG_list.csv')
In [2]:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [3]:
%run
python:
import pandas as pd
data = pd.read_excel('DEG_list.xlsx')
data.to_csv('DEG_list.csv')
R:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [4]:
python:
import pandas as pd
data = pd.read_excel('DEG_list.xlsx')
data.to_csv('DEG_list.csv')
R:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [5]:
%run
[1]
python:
import pandas as pd
data = pd.read_excel('DEG_list.xlsx')
data.to_csv('DEG_list.csv')
[2]
R:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [6]:
%run
[1 (convert data)]
# convert data
python:
import pandas as pd
data = pd.read_excel('DEG_list.xlsx')
data.to_csv('DEG_list.csv')
[2 (data analysis)]
# data analysis
R:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [7]:
%run --deg-list DEG_list.xlsx
parameter: deg_list = 'DEG_list.xslx'
[proj_1 (convert data)]
# convert data
python: expand=True
import pandas as pd
data = pd.read_excel('{deg_list}')
data.to_csv('DEG_list.csv')
[proj_2 (data analysis)]
# data analysis
R:
data = read.csv('DEG_list.csv')
pdf('result.pdf')
plot(data$log2FoldChange, data$stat)
dev.off()
In [8]:
%run --deg-list DEG_list.xlsx
parameter: deg_list = 'DEG_list.xslx'
[proj_1 (convert data)]
input: deg_list
output: 'DEG_list.csv'
# convert data
python: expand=True
import pandas as pd
data = pd.read_excel('{_input}')
data.to_csv('{_output}')
[proj_2 (data analysis)]
output: 'result.pdf'
# data analysis
R: expand=True
data = read.csv('{_input}')
pdf('{_output}')
plot(data$log2FoldChange, data$stat)
dev.off()
In [9]:
%run --deg-list DEG_list.csv
parameter: deg_list = 'DEG_list.xslx'
[convert: provides='{FILENAME}.csv']
input: f"{FILENAME}.xlsx"
# convert data
python: expand=True
import pandas as pd
data = pd.read_excel('{_input}')
data.to_csv('{_output}')
[analysis (data analysis)]
input: deg_list
output: 'result.pdf'
# data analysis
R: expand=True
data = read.csv('{_input}')
pdf('{_output}')
plot(data$log2FoldChange, data$stat)
dev.off()
In [10]:
%run -v3 --deg-list DEG_list.csv -s force
parameter: deg_list = 'DEG_list.xslx'
[convert: provides='{FILENAME}.csv']
input: f"{FILENAME}.xlsx"
# convert data
python: expand=True
import pandas as pd
data = pd.read_excel('{_input}')
data.to_csv('{_output}')
[analysis (data analysis)]
input: deg_list
output: 'result.pdf'
# data analysis
task:
R: expand=True
data = read.csv('{_input}')
pdf('{_output}')
plot(data$log2FoldChange, data$stat)
dev.off()
In [ ]:
## This step cannot be executed without
## proper host definition
%run --deg-list DEG_list.csv -s force
parameter: deg_list = 'DEG_list.xslx'
[convert: provides='{FILENAME}.csv']
input: f"{FILENAME}.xlsx"
# convert data
python: expand=True
import pandas as pd
data = pd.read_excel('{input}')
data.to_csv('{output}')
[analysis (data analysis)]
input: deg_list
output: 'result.pdf'
# data analysis
task:
R: expand=True
data = read.csv('{_input}')
pdf('{_output}')
plot(data$log2FoldChange, data$stat)
dev.off()
In [ ]: