Publications by JIE SUN

Spatial Data Analysis

09.06.2021

In this project, I will mainly use two key packages for spatial analysis, the new sf package(https://cran.r-project.org/web/packages/sf/sf.pdf) for working with vector data and the raster package(https://cran.r-project.org/web/packages/raster/raster.pdf) for working with grids to analyze New York City data For vector data I will use st_read() fro...

11683 sym R (36880 sym/144 pcs) 21 img

MAR

24.05.2021

Reading data setwd("~/Desktop/MAR") price <- read.csv("WMP.csv") t <- price$Date p <- price$EU.Price. head(price) ## Date EU.Price. ## 1 2009/05 193 ## 2 2009/06 194 ## 3 2009/07 194 ## 4 2009/08 198 ## 5 2009/09 214 ## 6 2009/10 239 #Plots The dataset start from May on 2009, let’s plot the data to see ...

8043 sym R (23715 sym/151 pcs) 18 img 2 tbl

Bioinformatics

23.05.2021

Notes for Bioinformatics study Basic for Linux First thing is to learn how to enter the server: ssh space name@ip direction,and enter the keyword. knitr::include_graphics("entry.jpg") Enter Linux Some Commands pwd Print Work Directory:showing the direction of current path knitr::include_graphics("pwd.jpg") Enter Linux mkdir Making Directory:...

1337 sym R (3144 sym/35 pcs) 16 img

Heart Rate

31.05.2021

1. Heart disease and potential risk factors Millions of people develop some sort of heart disease every year and heart disease is the biggest killer of both men and women around the world. Statistical analysis has identified many risk factors associated with heart disease such as age, blood pressure, total cholesterol, diabetes, hypertension, fam...

6740 sym R (6922 sym/32 pcs) 3 img

Spatial Data Analysis

09.06.2021

library(spBayes) library(classInt) library(RColorBrewer) library(MBA) library(fields) ## Loading required package: spam ## Loading required package: dotCall64 ## Loading required package: grid ## Spam version 2.6-0 (2020-12-14) is loaded. ## Type 'help( Spam)' or 'demo( spam)' for a short introduction ## and overview of this package. ## Help for...

25 sym R (4577 sym/17 pcs) 3 img

scDA

20.06.2021

The data this analysis used are download from: https://portal.gdc.cancer.gov library(limma) library(Seurat) ## Attaching SeuratObject library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdi...

2668 sym R (83783 sym/142 pcs) 20 img

SS in R

13.06.2021

# The number of points to create n <- 200 # Set the range xmin <- 0 xmax <- 1 ymin <- 0 ymax <- 2 # Sample from a Uniform distribution x <- runif(n, xmin, xmax) y <- runif(n, ymin, ymax) # See pre-defined variables ls.str() ## n : num 200 ## x : num [1:200] 0.00169 0.53447 0.6071 0.26857 0.42907 ... ## xmax : num 1 ## xmin : num 0 ## y : n...

8025 sym R (31547 sym/140 pcs) 29 img

Spatial Health Data

13.06.2021

Some quantities to avoid bias in mapping: Incidence rate : \(R_i = \frac{N_i}{P_i}\) Rate is \(\frac{Number \ of \ Cases}{Population\ At\ Risk}\) Standardized morbidity ratio SMR in region i = \(\frac{R_i}{Overall \ Rate}\) Overall rate \(R =\frac{\sum{N_i}}{\sum{P_i}}\) Overall Rate is \(\frac{Total\ Case}{Total \ Population}\) Ecpected cases : ...

4052 sym R (36723 sym/55 pcs) 8 img

Spatial Data EDA

15.06.2021

## Loading required package: sp ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:raster': ## ## intersect, select, union ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union ##...

350 sym R (9236 sym/79 pcs) 7 img