Skip to content

Commit

Permalink
Update 0008-06-01-Cancer_cell_identification.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ksinghal28 authored Apr 30, 2024
1 parent 4c50b03 commit 60d4ffe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions _posts/0008-06-01-Cancer_cell_identification.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ conicsmat_expr <- CONICSmat::normMat(as.matrix(Seurat::GetAssayData(merged_subse
gene_pos=getGenePositions(rownames(conicsmat_expr), ensembl_version = "https://oct2022.archive.ensembl.org/", species = "mouse")

#Get coordinates for each region of interest (in our case we'll just use chromosome coordinates)
#We'll download this file first
download.file(url = 'http://genomedata.org/cri-workshop/reference_files/chromosome_full_positions_mm10.txt', destfile = '/cloud/project/data/single_cell_rna/reference_files/chromosome_full_positions_mm10.txt')
regions=read.table("/cloud/project/data/single_cell_rna/reference_files/chromosome_full_positions_mm10.txt",sep="\t",header = T, row.names = 1)


Expand Down Expand Up @@ -188,11 +186,6 @@ library(ggplot2)
#read in seurat object
merged <- readRDS(file='data/single_cell_rna/backup_files/preprocessed_object.rds')

#download the variants file using the R built-in download.file() function
download.file(url = 'http://genomedata.org/cri-workshop/somatic_variants_exome/mcb6c-exome-somatic.variants.annotated.clean.filtered_10K.tsv',
destfile = '/cloud/project/data/single_cell_rna/cancer_cell_id/mcb6c-exome-somatic.variants.annotated.clean.filtered_10K.tsv')
#downloads file from internet based on 'url' and puts it in the location specified by 'destfile'.

#read in the variants file
variants_file <- read.csv('/cloud/project/data/single_cell_rna/cancer_cell_id/mcb6c-exome-somatic.variants.annotated.clean.filtered_10K.tsv', sep='\t')

Expand Down

0 comments on commit 60d4ffe

Please sign in to comment.