See this blog post
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
| --- | |
| output: | |
| pdf_document: default | |
| html_document: default | |
| --- | |
| scRNA-seq is useful for detecting changes in cell sub-populations in different conditions (or detecting sub-populations de novo), but not much else. It can also be used to detect some molecular mechanisms, but not really. Please don't do random experiments hoping to see "something". | |
| There must be multiple biological samples from the population of interest, each with the many number of measured cells. | |
| There are many types of single cells analyses, (e.g. "tissue-wide", spatial, which resolves the cells based on their position in the tissue, etc...), so you must really be sure of what the target is (the entity that needs to be measured), again, the bio question needs to be extremely clear. |
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
| Sepal.Length | Sepal.Width | Petal.Length | Petal.Width | Species | |
|---|---|---|---|---|---|
| 5.1 | 3.5 | 1.4 | 0.2 | setosa | |
| 4.9 | 3 | 1.4 | 0.2 | setosa | |
| 4.7 | 3.2 | 1.3 | 0.2 | setosa | |
| 4.6 | 3.1 | 1.5 | 0.2 | setosa | |
| 5 | 3.6 | 1.4 | 0.2 | setosa | |
| 5.4 | 3.9 | 1.7 | 0.4 | setosa | |
| 4.6 | 3.4 | 1.4 | 0.3 | setosa | |
| 5 | 3.4 | 1.5 | 0.2 | setosa | |
| 4.4 | 2.9 | 1.4 | 0.2 | setosa |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| from tqdm import tqdm | |
| from random import randint, random, choice | |
| from pathlib import Path | |
| from sys import stdout | |
| def rand_bool(chance: float) -> bool: | |
| return random() < chance | |
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
| """Metasample | |
| This script performs stratified sampling on an input .csv file, reducing the | |
| number of columns and rows. | |
| To run, you must install `pandas` and have `xsv` (https://github.com/BurntSushi/xsv) | |
| in your PATH. | |
| """ | |
| ## --- LICENSE --- |
The official guide is obviously terrible at doing its job for linux, so I thought I'd write a tiny guide on how to do this myself. I use Arch, so this will be arch-centric. If you use other distros, lookup your version of the same packages as the ones Arch ships, but they should be fairly generic.
Install openconnect. For arch, this is pacman -Syu openconnect.
Once you did, you can connect to the VPN through:
It is based on some online layout that I cannot find. If someone recognizes it, let me know.
The corne has this shape:
┌──┬──┬──┬──┬──┬──┐ ┌──┬──┬──┬──┬──┬──┐
├──┼──┼──┼──┼──┼──┤ ├──┼──┼──┼──┼──┼──┤
├──┼──┼──┼──┼──┼──┤-------├──┼──┼──┼──┼──┼──┤
└──┴──┴──┴──┼──┼──┼──┐ ┌──┼──┼──┼──┴──┴──┴──┘
└──┴──┴──┘ └──┴──┴──┘
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
| def path_type( | |
| obj_type: Literal["dir", "file", "file_strict"] | |
| ) -> Callable[[str], Path]: | |
| assert obj_type in ( | |
| "dir", | |
| "file", | |
| "file_strict", | |
| ), f"Invalid object type check: {obj_type}" | |
| if obj_type == "dir": |
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
| [Security] | |
| EAP-Method=PEAP | |
| EAP-Identity=anonymous | |
| EAP-PEAP-Phase2-Method=MSCHAPV2 | |
| EAP-PEAP-Phase2-Identity=myshortusername@unito.it | |
| EAP-PEAP-Phase2-Password=mypassword | |
| [Settings] | |
| AutoConnect=True |
NewerOlder