Publications by Xiaohan Xu

Post-test assignment: test ggpubr / ggplot2

18.11.2021

gpubr - allometric data Allometric data - classic case of regression, using logs, using non-linear model too library(compbio4all) Vocab wrapper ggplot2 ggpubr $ operator smoother continous data categorical data Learning objectives Know what a wrapper is Know the relationship between ggplot2 and ggpubr Be able to run code that makes graphs wit...

4282 sym R (2474 sym/35 pcs) 9 img

Portfolio: Testing Google Sheets Access

16.11.2021

The goal of this exercise is to make you familiar with how to download data from Google Sheets and to briefly review some key concepts R functions and coding concepts. We’ll do the following things download a list of RefSeq accessions from a Google sheet remove the NAs using na.omit() select out all but one isoform using duplicated() Packages...

865 sym R (2756 sym/25 pcs)

Assignment Portfolio: Pie graphs part 1

04.11.2021

Assignment information: (delete this when you submit) In this assignment you will re-build the pie graphs shown in the paper “Genomics is failing on diversity” by Popejoy and Fullerton (https://www.nature.com/articles/538161a). Delete all instructions and replace with short explanatory text about all code chunks. Be sure to change the title i...

1847 sym R (1142 sym/8 pcs) 3 img

Portfolio: Adjusting dotplot setting in R to investigate sequence repeats in Shroom - Xiaohan Xu

26.10.2021

Add the necessary code to make this script function. Preliminaries Load packages library(seqinr) library(rentrez) library(compbio4all) library(Biostrings) ## Loading required package: BiocGenerics ## Loading required package: parallel ## ## Attaching package: 'BiocGenerics' ## The following objects are masked from 'package:parallel': ## ## ...

1196 sym R (6265 sym/39 pcs) 6 img

Using dotplots in R to investigate sequence repeats - Xiaohan Xu

26.10.2021

In this exercise we’ll look at a sequence with known tandem repeats. We’ll load the data, explore it in R, then use the dotPlot() function to make various dotplots to see how changing settings for dotPlots() help make repeat patterns stand out. Add the necessary code to make this script functional. Preliminaries Load packages library(seqinr...

1542 sym R (7198 sym/65 pcs) 12 img

Software Checkpoint 3 - Xiaohan Xu

19.10.2021

Default working directory Open up this .Rmd file in RStudio. In the code chunk below type getwd() and run it. “wd” means “working directory”, or where R will currently save files if you tell it to save anything. # Get the current working directory getwd() ## [1] "/Users/echoxu/Downloads" Copy and paste the current wd in the code chunk bel...

1708 sym R (215 sym/4 pcs)

Document

30.09.2021

R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...

593 sym R (262 sym/2 pcs) 1 img

Document

27.09.2021

R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...

593 sym R (262 sym/2 pcs) 1 img

Introduction to dotplots in RDocument - Xiaohan Xu

26.10.2021

Sequence dotplots in R By: Avril Coghlan. Adapted, edited and expanded: Nathan Brouwer under the Creative Commons 3.0 Attribution License (CC BY 3.0). NOTE: I’ve added some new material that is rather terse and lacks explication. Good sources of more info: https://omicstutorials.com/interpreting-dot-plot-bioinformatics-with-an-example/ http://r...

3766 sym R (1799 sym/17 pcs) 7 img

Download a FASTA file and save it to your hard drive - Xiaohan Xu

28.10.2021

Default working directory Open up this .Rmd file in RStudio. In the code chunk below type getwd() and run it. “wd” means “working directory”, or where R will currently save files if you tell it to save anything. # Get the current working directory getwd() ## [1] "/Users/echoxu/Documents/University of Pittsburgh/compbio2021 - student_folde...

1708 sym R (218 sym/4 pcs)