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
| BEGIN { | |
| FS="\t" | |
| OFS="," | |
| genect = 0 | |
| } | |
| # filter the comments | |
| $0 ~ /^#/ { next } | |
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
| # Prepends "VNII_" in front of every sequence ID in this genome | |
| seqkit replace -p ^ -r VNII_ GCA_022832995.1_ASM2283299v1_genomic.fna > VNII_Genome.fasta |
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
| use std::error::Error; | |
| use std::io::{BufRead, BufReader}; | |
| #[derive(Debug)] | |
| struct Record<'a> { | |
| line: &'a str, | |
| words: Vec<&'a str>, | |
| } | |
| impl<'a> Record<'a> { |
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
| use std::error::Error; | |
| use std::io::{BufRead, BufReader}; | |
| #[derive(Debug)] | |
| struct Record<'a> { | |
| line: &'a str, | |
| words: Vec<&'a str>, | |
| } | |
| impl<'a> Record<'a> { |
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
| use std::env; | |
| use std::error::Error; | |
| use std::fs::File; | |
| use std::io::{BufRead, BufReader}; | |
| use std::time::Instant; | |
| #[derive(Debug)] | |
| struct Record { | |
| words: Vec<String>, | |
| } |
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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| "strings" | |
| "time" |
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
| library(dendextend) | |
| library(tidyr) | |
| library(dplyr) | |
| library(magrittr) | |
| library(ggplot2) | |
| # load data in "wide" format (genes in columns) | |
| spellman <- read.csv("spellman-reformated.csv") | |
| # restructure in "long" format |
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
| library(tidyr) | |
| library(dplyr) | |
| library(magrittr) | |
| library(ggplot2) | |
| # read data from causton heat expression data set | |
| # see groups 4 and 9 data/focal papers | |
| causton <- read.csv("causton-2001-heat-expression.csv") | |
| # Take a look at data. You'll see that the genes are in rows, |
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
| library(tidyr) | |
| library(dplyr) | |
| library(magrittr) | |
| library(ggplot2) | |
| # load data in "wide" format (genes in columns) | |
| spellman <- read.csv("spellman-reformated.csv") | |
| # restructure in "long" format | |
| spellman.long <- gather(spellman, gene, expression, -expt, -time) |
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
| library(tidyr) | |
| library(dplyr) | |
| library(magrittr) | |
| library(ggplot2) | |
| # load data in "wide" format (genes in columns) | |
| spellman <- read.csv("spellman-reformated.csv") | |
| # restructure in "long" format | |
| spellman.long <- gather(spellman, gene, expression, -expt, -time) |
NewerOlder