SelectGenePeaks | R Documentation |
Returns peaks associated with a select gene.
SelectGenePeaks(
peaks.object,
gene,
feature.type = c("UTR3", "UTR5", "exon", "intron")
)
peaks.object |
Peaks SCE or Seurat object. |
gene |
Gene name |
feature.type |
type of genomic features to use |
a list of peak IDs
extdata_path <- system.file("extdata",package = "Sierra")
load(paste0(extdata_path, "/Cxcl12_example.RData"))
load(paste0(extdata_path, "/TIP_cell_info.RData"))
## Create an suerat object holding the peak data
peaks.seurat <- NewPeakSeurat(peak.data = peak.counts,
annot.info = peak.annotations,
cell.idents = tip.populations,
tsne.coords = tip.tsne.coordinates,
min.cells = 0, min.peaks = 0)
peak.list <- SelectGenePeaks(peaks.object = peaks.seurat ,gene = "Cxcl12")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.