Skip to content

Input for ambient argument in hashedDrops function for 10X single cell data #120

Description

@tim-meese

Hi,

I am working with 10X single cell data and have access to both the raw_feature_bc_matrix and filtered_feature_bc_matrix for RNA and HTO. I would like to use the cells that are called by Cell Ranger. Could you please clarify what the input for the ambient argument should be in the hashedDrops function?

From my understanding, the ambient argument is a numeric vector specifying the relative abundance of each HTO in the ambient solution. If ambient is set to NULL, the function will infer the ambient profile based on the data provided1.

I read in OSCA Advanced that if we are dealing with unfiltered data, we can improve the inferences by defining the ambient profile beforehand based on the empty droplets. This involves summing the counts for each HTO across all known empty droplets, marked as those libraries with NA FDR values in the emptyDrops() output. This confuses me because I am not sure if this sum is the same as relative abundance.

Any guidance on how to correctly specify the ambient argument would be greatly appreciated!

Thank you for your clarification!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions