@@ -42,9 +42,9 @@ The main functions include:
4242
4343 * ` plotBarcodeProportion() `
4444
45- * ` testBarcodeBias ()`
45+ * ` testBarcodeSignif ()`
4646
47- * ` plotBarcodeBiasScatterPlot ()`
47+ * ` plotSignifBarcodeProportion ()`
4848
4949# Intallation
5050
@@ -71,15 +71,18 @@ suppressPackageStartupMessages({
7171 library(data.table)
7272 library(ComplexHeatmap)
7373 library(limma)
74+ library(SummarizedExperiment)
75+ library(S4Vectors)
7476})
7577```
7678
77- # Simulate Data to Use
79+ # Load Package Data
7880
7981An example dataset on barcode count will be implemented from published clonal track research for better demonstrating the function in the package.
8082
8183``` {r data}
8284## Sample conditions and color palettes
85+ data(monkeyHSPC, package = "barbieQ")
8386sampleConditions <- data.frame(
8487 Treat = factor(rep(c("ctrl", "drug"), each = 6)),
8588 Time = rep(rep(seq_len(2), each = 3), 2)
@@ -106,7 +109,7 @@ By creating a `barbieQ` object, you've automatically processed a series of data
106109``` {r example, fig.width=8, fig.height=6}
107110## Passing `object`, `target` and `factorColors`
108111exampleBBQ <- createBarbieQ(
109- object = barcodeCount, target = sampleConditions, factorColors = conditionColor
112+ object = barcodeCount, sampleMetadata = sampleConditions, factorColors = conditionColor
110113)
111114```
112115
0 commit comments