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

Re-organize HiTObject, e.g. to enable merging of merged HiTObject and subsetting based on metadata (see here for current workaround to subset HiTObject for downstream analysis) #8

Open
halterc opened this issue Apr 19, 2024 · 0 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@halterc
Copy link
Collaborator

halterc commented Apr 19, 2024

Just to keep track.
Long-term enhancement.

As a current workaround for subsetting, copy your merged HiTObject and drop the metadata rows (=samples) that you don't want in your HiT_summary. For example:

my_merged_HiTObject <- merge.HiTObjects(HiTObject_list)
scores <- get.cluster.score(my_merged_HiTObject, cluster.by = c("my_condition_column"))
summarized_scores <- summarize.cluster.scores(scores)

HO_subset <- my_merged_HiTObject
HO_subset <- HO_subset@metadata[1:10, ]
scores_subset <- get.cluster.score(HO_subset, cluster.by = c("my_condition_column"))
summarized_scores_subset <- summarize.cluster.scores(scores_subset)
@halterc halterc added enhancement New feature or request wontfix This will not be worked on labels Apr 19, 2024
@halterc halterc changed the title Re-organize HiTObject, e.g. to enable filtering based on metadata Re-organize HiTObject, e.g. to enable merging of merged HiTObject and filtering based on metadata Apr 19, 2024
@halterc halterc changed the title Re-organize HiTObject, e.g. to enable merging of merged HiTObject and filtering based on metadata Re-organize HiTObject, e.g. to enable merging of merged HiTObject and subsetting based on metadata Apr 19, 2024
@halterc halterc changed the title Re-organize HiTObject, e.g. to enable merging of merged HiTObject and subsetting based on metadata Re-organize HiTObject, e.g. to enable merging of merged HiTObject and subsetting based on metadata (see here for current workaround to subset HiTObject for downstream analysis) Apr 19, 2024
@halterc halterc transferred this issue from carmonalab/HiTME Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant