Skip to content

Instantly share code, notes, and snippets.

View krishnakatyal's full-sized avatar
💭
Shining until Tomorrow

krishna katyal krishnakatyal

💭
Shining until Tomorrow
  • Jammu,India
View GitHub Profile
@krishnakatyal
krishnakatyal / gist:66dcd23525138f2b5cf89d46bbbed9dc
Created April 9, 2020 20:24 — forked from FloWuenne/gist:b4d1729b5ec2ceecfb4ce532e0fd8d67
Plot PCA for ethnicity from any given VCF file combined with 1000 genomes data
## Plot PCA for ethnicity of a given VCF file
## Import publication theme
## A nice R ggplot theme that I found online. Original can be found here:
## https://rpubs.com/Koundy/71792
theme_Publication <- function(base_size=14, base_family="helvetica") {
library(grid)
library(ggthemes)
(theme_foundation(base_size=base_size, base_family=base_family)