This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sns.set( | |
context="paper", | |
style="ticks", | |
font_scale=1, | |
rc={ | |
"xtick.labelsize": 16, | |
"ytick.labelsize": 16, | |
"axes.labelsize": 14, | |
"legend.fontsize": 16, | |
"lines.linewidth": 1.25, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print([ | |
if (2 > 1) 222 else 333, | |
if (2 > 3) 444, | |
for (int i in Iterable.generate(10)) if (i % 3 == 1) i, | |
for (int i in Iterable.generate(10, (x) => x + 100)) if (i % 2 == 0) i | |
]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env Rscript | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright © 2020 Ye Chang <yech1990@gmail.com> | |
# Distributed under terms of the MIT license. | |
# | |
# Created: 2020-04-07 14:27 | |
f <- function(x) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Automatically generated packer.nvim plugin loader code | |
if !has('nvim-0.5') | |
echohl WarningMsg | |
echom "Invalid Neovim version for packer.nvim!" | |
echohl None | |
finish | |
endif | |
packadd packer.nvim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source("./utils_APA.R") | |
## How ot use? | |
## | |
## Change the path of tsv and gtf file | |
## `chr_name` is the column name of chromosome in the tsv file, default is "Chromosome" | |
## `pos_name` is the column name of position in the tsv file, default is "End" | |
## `strand_name` is the column name of strand in the tsv file, default is "Strand" | |
tsv <- "./test_sites.tsv" |
OlderNewer