knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(RGlycopacity)
ccle_raw_counts.dgeObj <- readRDS(system.file("extdata", "ccle_raw_counts.Rds", package = "RGlycopacity", mustWork = T))
ccle_log_counts.mat <- edgeR::cpm.DGEList(ccle_raw_counts.dgeObj)+1
rel_diff.mat <- normaliseOnSEGs(ccle_log_counts.mat)
rel_diff_ranges.mat <- getNormalisedRanges(rel_diff.mat)
clrs.mat <- transformToCLR(rel_diff.mat)
bulk_on_bulk_intersect.mat <- calculateNormalisedIntersects(rel_diff.mat, dynamic_ranges.char = 'bulk_ranges')
bulk_on_sc_intersect.mat <- calculateNormalisedIntersects(rel_diff.mat, dynamic_ranges.char = 'tabula_sapiens_ranges')
pbmck3k.seurat <- readRDS(system.file("extdata", "pbmc3k.Rds", package = "RGlycopacity", mustWork = T))
result.list <- calculatePseudobulks(pbmck3k.seurat)
expression.mat <- predictMinimalExpression(result.list)
pseudopresence.list <- predictPseudopresenceStability(result.list)
rel_diff.mat <- normaliseOnSEGs(result.list$pseudobulks.sm)
rel_diff_ranges.mat <- getNormalisedRanges(rel_diff.mat)
clrs.mat <- transformToCLR(rel_diff.mat)
sc_on_bulk_intersect.mat <- calculateNormalisedIntersects(rel_diff.mat, dynamic_ranges.char = 'bulk_ranges')
sc_on_sc_intersect.mat <- calculateNormalisedIntersects(rel_diff.mat, dynamic_ranges.char = 'tabula_sapiens_ranges')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.