This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> sessionInfo() | |
R version 4.4.1 Patched (2024-09-30 r87215) | |
Platform: x86_64-pc-linux-gnu | |
Running under: Ubuntu 24.04.1 LTS | |
Matrix products: default | |
BLAS: /usr/local/lib/R/lib/libRblas.so | |
LAPACK: /usr/local/lib/R/lib/libRlapack.so; LAPACK version 3.12.0 | |
locale: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################## | |
############################################################################## | |
### | |
### Running command: | |
### | |
### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data BiocFileCache | |
### | |
############################################################################## | |
############################################################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(xenLite) | |
library(SpatialExperiment) | |
what = "LUAD" | |
ui = fluidPage( | |
sidebarLayout( | |
sidebarPanel( | |
uiOutput("topbox"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setup: | |
> options(repos=c(BioCsoft="https://bioc.r-universe.dev", CRAN="https://cloud.r-project.org")) | |
> getOption("repos") | |
BioCsoft CRAN | |
"https://bioc.r-universe.dev" "https://cloud.r-project.org" | |
> install.packages("impute") | |
Installing package into ‘/Users/papa/Library/R/arm64/4.4/library’ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plotly) | |
library(ggplot2) | |
library(XenSCE) | |
if (!exists("gbm")) load("gbm.rda") | |
print.xen_ggprep = function(x, ...) { | |
cat(sprintf("xen_ggprep instance for %d cells with %d cell boundary vertices.\n", ncol(x$sampd), nrow(x$bounds))) | |
} | |
ggprep_seg = function(xsce, xlim=c(5800,6200), ylim=c(6300, 6700), show_tx=TRUE) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plotly) | |
library(ggplot2) | |
library(XenSCE) | |
if (!exists("gbm")) load("gbm.rda") | |
plotly_seg = function(xsce, xlim=c(5800,6000), ylim=c(6300, 6500), show_tx=TRUE) { | |
bounds = getCellBoundaries(xsce) | |
bounds = bounds[bounds$vertex_x > xlim[1] & | |
bounds$vertex_x < xlim[2] & bounds$vertex_y > ylim[1] & bounds$vertex_y < ylim[2],] | |
c4 <- as.data.frame(bounds) | |
#ggplot(c4, aes(x=vertex_x, y=vertex_y, group=cell_id)) + geom_path() -> pas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(ParquetDataFrame) | |
library(XenSCE) | |
if (!exists("gbm")) load("gbm.rda") | |
ui = fluidPage( | |
sidebarLayout( | |
sidebarPanel( | |
helpText("view gbm"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_bioc_packagelist = function(rel = "RELEASE_3_19") { | |
system("git clone https://git.bioconductor.org/admin/manifest") | |
owd = getwd() | |
setwd("manifest") | |
on.exit(setwd(owd)) | |
system(paste("git checkout ", rel)) | |
proc_software.txt = function() { | |
x = readLines("software.txt")[-1] # first line is comment | |
nn = which(nchar(x)==0) | |
tmp = x[-nn] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(EBImage) | |
library(shiny) | |
ui = fluidPage( | |
sidebarLayout( | |
sidebarPanel( | |
helpText("EBImage explorer"), | |
fileInput("inimg", "file"), | |
numericInput("scalefactor", "multfac", min=1, max=50, value=10,step=1), | |
sliderInput("blursig", "sigma for blur", min=1, max=100, value=50) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#tabix Lung.tsv.gz 1:1-300000000 > lung.chr1.tsv | |
#tabix Lung.tsv.gz 2:1-300000000 > lung.chr2.tsv | |
#tabix Lung.tsv.gz 3:1-300000000 > lung.chr3.tsv | |
#tabix Lung.tsv.gz 4:1-300000000 > lung.chr4.tsv | |
#tabix Lung.tsv.gz 5:1-300000000 > lung.chr5.tsv | |
#tabix Lung.tsv.gz 6:1-300000000 > lung.chr6.tsv | |
#tabix Lung.tsv.gz 7:1-300000000 > lung.chr7.tsv | |
#tabix Lung.tsv.gz 8:1-300000000 > lung.chr8.tsv | |
#tabix Lung.tsv.gz 9:1-300000000 > lung.chr9.tsv | |
#tabix Lung.tsv.gz 10:1-300000000 > lung.chr10.tsv |