{"action":"closed","issue":{"url":"https://api.github.com/repos/lgatto/MSnbase/issues/307","repository_url":"https://api.github.com/repos/lgatto/MSnbase","labels_url":"https://api.github.com/repos/lgatto/MSnbase/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/lgatto/MSnbase/issues/307/comments","events_url":"https://api.github.com/repos/lgatto/MSnbase/issues/307/events","html_url":"https://github.com/lgatto/MSnbase/issues/307","id":294367521,"number":307,"title":"How can I remove a feature from an MSnSet?","user":{"login":"PDiracDelta","id":11943051,"avatar_url":"https://avatars1.githubusercontent.com/u/11943051?v=4","gravatar_id":"","url":"https://api.github.com/users/PDiracDelta","html_url":"https://github.com/PDiracDelta","followers_url":"https://api.github.com/users/PDiracDelta/followers","following_url":"https://api.github.com/users/PDiracDelta/following{/other_user}","gists_url":"https://api.github.com/users/PDiracDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PDiracDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PDiracDelta/subscriptions","organizations_url":"https://api.github.com/users/PDiracDelta/orgs","repos_url":"https://api.github.com/users/PDiracDelta/repos","events_url":"https://api.github.com/users/PDiracDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PDiracDelta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-05T11:56:15Z","updated_at":"2018-02-05T14:57:15Z","closed_at":"2018-02-05T14:57:15Z","author_association":"NONE","body":"The idea is simple: I would like to remove some features from an MSnSet (corresponding to specific rows in the fData object) by retaining only the complement of those rows.\r\nI tried doing\r\n`fData(myMSnSet) <- fData(myMSnSet)[some_rows_to_keep,]`\r\nbut when afterwards I want to filter NA values, I get (update: slightly different error):\r\n`filterNA(myMSnSet)`\r\n`Error in validObject(.Object) : \r\n  invalid class “MSnSet” object: featureNames differ between assayData and featureData`\r\nI cannot access assayData to manually remove any rows there, and I can't seem to find any way to remove features by passing their row names/indices in the documentation.\r\n\r\nHow can I remove a feature ('row' in the fData dataframe) from an MSnSet?"}}
{"actor":{"display_login":"lgatto"}}