일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- scRNAseq analysis
- drug muggers
- python matplotlib
- github
- js
- single cell rnaseq
- scRNAseq
- CUTandRUN
- julia
- 비타민 C
- CUT&RUN
- pandas
- single cell analysis
- EdgeR
- drug development
- HTML
- PYTHON
- Batch effect
- Git
- ChIPseq
- javascript
- Bioinformatics
- single cell
- 싱글셀 분석
- cellranger
- MACS2
- matplotlib
- DataFrame
- ngs
- CSS
Archives
- Today
- Total
목록재귀 (1)
바이오 대표
[ Algorithm ] Recursion 재귀 Algorithm
Function 안에 같은 function을 이용하는 것을 recursion(재귀) 라고 한다. 예시) # Factorial function def f(n): # Stop condition if (n == 0 or n == 1): return 1; # Recursive condition else: return n * f(n - 1); n = 5; print(f(n)) #120 n * f(n-1) 5 * f(4) = 5 * 24 = 120 f(4) = 4 * f(3) 4*6 = 24 f(3) = 3 * f(2) = 3*2 = 6 f(2) = 2 * f(1) = 2*1 = 2
Python/others
2022. 3. 6. 20:55