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

Update write_kallisto_hdf5 function and add ability to subset kallisto object (address #131) #150

Merged
merged 10 commits into from
Mar 12, 2018

Conversation

warrenmcg
Copy link
Collaborator

@warrenmcg warrenmcg commented Nov 20, 2017

Hi @pimentel,

Thanks to the work of @agropyron and small tweaks, we have a working write function. I've added some S3 methods (with updated documentation and NAMESPACE) to subset kallisto objects (or the collection of kallisto objects within a sleuth object). This should address issue #131.

When I did a checkout of the recent commit on the devel branch, there were several miscellaneous things related to the documentation and NAMESPACE for gene_for_gene that need to be fixed, so I'll be including those here too.

Only issue right now is that if a user subsets kallisto objects within a sleuth object, there isn't a way for the user to know to rerun sleuth_prep, and there will now be mismatch between the obj$kal and the rest of the object. There isn't an easy way to rerun sleuth_prep with just the obj$kal list, so should we implement that?

 + add a sanity check to make sure that the target_ids given are actually a character vector
 + add 'excluded_ids' and 'original_num_targets' to kallisto object to keep
   track of how a kallisto object has been subsetted
 + add functions to report subset status and any excluded IDs
 + modify print function for kallisto to include subset status
@warrenmcg
Copy link
Collaborator Author

The last commit is relating to this discussion on the forum: potential bug in sleuth_prep related to class of target_id

+ This fixes issue pachterlab#151
+ Thanks to @petersbr for the suggested edit
@pimentel pimentel merged commit c9d11ce into pachterlab:devel Mar 12, 2018
@warrenmcg warrenmcg changed the title Update write_kallisto_hdf5 function and add ability ot subset kallisto object (address #131) Update write_kallisto_hdf5 function and add ability to subset kallisto object (address #131) Jun 6, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants