You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering about adding a new accessor that returns a GRangesList of CTSS objects with the score of their sample. In these objects the non-expressed CTSSes are not represented, therefore the data can not be represented as a DataFrame or a SummarizedExperiment since each sample is a vector of a different length.
CTSScoordinatesGRL <- function(object) {
grl <- lapply(sampleLabels(object), CTSStagCountGR, object = object) |> GRangesList()
names(grl) <- unname(sampleLabels(object))
# Also pass the original colData?
grl@metadata$colData <- colData(object)
grl
}
This function would be useful when looping over CTSSes. I am not sure if it is worth to make it public or better to keep it private.
A similar function may be useful for consensus clusters.
The tagClustersGR function's name is actually misleading, as it also returns a GRL. But let's not change that.
The text was updated successfully, but these errors were encountered:
I am wondering about adding a new accessor that returns a
GRangesList
ofCTSS
objects with the score of their sample. In these objects the non-expressed CTSSes are not represented, therefore the data can not be represented as aDataFrame
or aSummarizedExperiment
since each sample is a vector of a different length.This function would be useful when looping over CTSSes. I am not sure if it is worth to make it public or better to keep it private.
A similar function may be useful for consensus clusters.
The
tagClustersGR
function's name is actually misleading, as it also returns a GRL. But let's not change that.The text was updated successfully, but these errors were encountered: