<- c("ENST00000376207.10", "ENST00000376199.7") ids
Day 1 Challenges
RAdelaide 2024
Some Challenges
Working With Text Strings
- Given a vector of Transcript IDs with versions, remove the version number?
- Add the ‘chr’ prefix to these chromosomes
<- c(1:22, "X", "Y", "M") chr
- Pull the chromosome out of these cytogenetic bands
<- c("Xp11.23", "11q2.3", "2p7.1") cyto
- Convert the following genes from human to mouse
<- c("FOXP3", "IL2RA", "CTLA4") genes
- Remove the suffix “.bam” from these filenames
<- c("rna_bamboo1.bam", "rna_rice1.bam", "rna_wheat1.bam") bams
- Correct the responses to be consistent (choose the format)
<- c("Y", "yes", "No", "no") response
- Load the pcr data using the following code then create create two additional columns
treatment
: containing the CONTROL/INFECTED statustimepoint
: with all times ending in ‘hr’
<- read_excel("data/RealTimeData.xlsx") %>%
pcr ::rename(sample = `...1`) dplyr