I am not even in med school yet but I do currently work on a PM&R unit and help transfer patients such as these. What we do is we usually have a gait belt around the waist of the patient. It allows leverage on holding and supporting the patient. We take off the feet of the wheel chair first so that they don't get into the way. We have the patient get and sit at the edge of the bed, then we put the wheel chair which is right along the bed, next to the patient in that if the patient is facing North, the wheelchair is facing east. We try to get the patients to put their left arm on the left side of the wheel chair, in order to aid with the transfer. And while supporting the patient through either the gait belt or holding onto the patient in the arm pit, the patient is moved to the chair in one swoop.
In order to help a patient stand, simply use your gait belt (if you have one) or simply help them stand by putting your hands/arm under their arm pit and helping them stand.
Sometimes if you have a patient that is paralyzed and unable to move. You can put the wheel chair next to the bed and next to the patient as done in the previous example where the patient is facing north and the wheel chair is facing east. Take off the arm on the wheel chair which is next to the bed. The physical therapy department actually has a transfer board that they use as a "bridge" between the wheelchair and the bed. One side goes on the wheelchair and one side is on the bed. With that, the patient is able to slide themselves into the wheelchair.
Remember, that these patient transfers are done from the perspective of rehabilitation of the patient. The point of these transfers is to teach the patient how to transfer themselves into a wheelchair for when they go home. Other units such as med/surg, etc, might do transfers differently. These transfers are usually at the guidance of physical therapy as well so if you have questions on transfers, some of the best people to talk to are physical therapists. It always helps to utilize and be colleagues with all staff at a hospital or in a nursing unit because you never know when you are going to need them. Good luck! And I hope this helped.