Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute per cell metrics (and per feature?) #44

Open
cvanderaa opened this issue Sep 6, 2023 · 0 comments
Open

Compute per cell metrics (and per feature?) #44

cvanderaa opened this issue Sep 6, 2023 · 0 comments

Comments

@cvanderaa
Copy link
Member

Let's have a function that computes a metric or statistic for every cell across several batches. The function would be a generalization of computeMedianCVperCell().

Tentative signature: computePerCell(object, i, colDataName, FUN, ... ), where colDataName is the names of the column in the colData to store the metric, and FUN is the function that computes the metric for one cell/sample/column, with its arguments passed through ....

I'm not convinced by the function name... The scuttle package implements the perCellQCMetrics method for SE and SCE objects, but the signature differs from what I want and does not allow for custom functions.

Also, we could have a similar function that computes metrics per feature. This would be a generalization of computeSCR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant