
Create a PNAAssay5 object
CreatePNAAssay5.Rd
Create a PNAAssay5
object from a count matrix and a list
of CellGraph
objects. The expected format of the input
matrix is features x cells. Optionally, a tbl_df
with proximity
scores and a tbl_df
with information on source PXL file paths
can be provided.
Arguments
- counts
Unnormalized data (raw counts)
- cellgraphs
A named list with
CellGraph
objects- proximity
A
tbl_df
with proximity scores- fs_map
A
tbl_df
with information on source PXL file paths, sample IDs, and component IDs- verbose
Print messages
- ...
Additional arguments passed to
CreateAssay5Object
Examples
library(pixelatorR)
library(dplyr)
pxl_file <- minimal_pna_pxl_file()
counts <- ReadPNA_counts(pxl_file)
pna_assay5 <- CreatePNAAssay5(
counts = counts,
cellgraphs = rep(list(NULL), ncol(counts)) %>%
setNames(colnames(counts))
)
pna_assay5
#> PNAAssay (v5) data with 158 features for 5 cells
#> First 10 features:
#> HLA-ABC, B2M, CD11b, CD11c, CD18, CD82, CD8, TCRab, HLA-DR, CD45
#> Layers:
#> counts
#> Loaded CellGraph objects:
#> 0