Skip to content

R - Need a virtual session on list manipulation #1381

Answered by kubu4
kubu4 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks to those that chimed in. Even though I made this a Discussion about list manipulation, it was really a specific issue in manipulating ballgown objects and tying into using the rowcvs() function.

For posterity, I'll post the true underlying issue that was screwing me up.

Let's say one has created a ballgown object, called bg. To extract transcript info, one would run this command:

texpr(bg)

If one wants to extract gene info, one would run this command:

gexpr(bg)

Although these commands, have virtually identical syntax, there is a critical difference in what is output.

texpr(bg) spits out a ballgown object.

gexpr(bg) spits out a matrix.

I was trying to manipulate the outputs from bot…

Replies: 5 comments 3 replies

Comment options

kubu4
Feb 2, 2022
Maintainer Author

You must be logged in to vote
2 replies
@yaaminiv
Comment options

yaaminiv Feb 3, 2022
Collaborator

@yaaminiv
Comment options

yaaminiv Feb 3, 2022
Collaborator

Comment options

kubu4
Feb 3, 2022
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kubu4
Comment options

kubu4 Feb 4, 2022
Maintainer Author

Comment options

kubu4
Feb 4, 2022
Maintainer Author

You must be logged in to vote
0 replies
Comment options

kubu4
Feb 4, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by kubu4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants